PHP Package: acquia/drupal-environment-detector

Efficient PHP library for detecting Drupal environment settings and configurations accurately and quickly.

Current Version: 1.7.0
Last Updated: 2024-11-26
PHP Requirement: >=7.4
Dependencies:
acquia/some-library
drupal/some-dependency
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Drupal Environment Detector is a powerful PHP library designed to accurately identify and retrieve essential environment settings and configurations within Drupal applications. With a focus on speed and accuracy, this library streamlines the process of detecting Drupal environments, ensuring optimal performance and reliability. Whether for development, staging, or production, this tool offers precise insights for seamless operations.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.7.0

Download Download v1.7.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/acquia/drupal-environment-detector/1.7.0/loader.php';
require_once 'libs/acquia/some-library/{lib_version}/loader.php';
require_once 'libs/drupal/some-dependency/{lib_version}/loader.php';

use Acquia\DrupalEnvironmentDetector\Detector;
use Acquia\DrupalEnvironmentDetector\Parser;

$obj = new Detector();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.