Registry / utility / acquia-drupal-environment-detector

acquia-drupal-environment-detector

JSON →
library1.7.0phppackagistunverified

Provides common methods for detecting the current Acquia environment

composer require acquia/drupal-environment-detector
INSTALL
IMPORT
SIG · ACQUIA-DRUPAL-ENVI
A
acquia-drupal-environment-detector
utilityphpv1.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Environment
use Acquia\DrupalEnvironmentDetector\Environment;

Detect if running on Acquia Cloud

use Acquia\DrupalEnvironmentDetector\Environment; if (Environment::isAhEnv()) { echo 'Running on Acquia Cloud'; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
34
Meta
1
OpenAI (training)
1
Resources
acquia-drupal-environment-detector — pip install acquia-drupal-environment-detector · libregistry