NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2933 most downloaded on Packagist
Provides common methods for detecting the current Acquia environment
Latest stable
1.8.0
Last release 5 months ago
29 May 2026
Release timing varies
gaps range from 8 days to 1.7 years
Nearly every release is documented
notes for 14 of 15 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
15 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
CLI-1777: Support for MEO in drupal-environment-detector. @deepakmishra2
ACMS-3647: Add helper function to get segmented Acquia environment names. @rajeshreeputra
Your coding agent can read these notes before it upgrades. Set up the MCP server →
ORCA-488: D10 readiness @secretsayan
Bump phpunit/phpunit from 9.5.24 to 9.5.25 by @dependabot in https://github.com/acquia/drupal-environment-detector/pull/51
Full Changelog: https://github.com/acquia/drupal-environment-detector/compare/1.5.2...1.5.3
Fixes #46 to revert $GLOBALS change. by @mikemadison13 in https://github.com/acquia/drupal-environment-detector/pull/47
Full Changelog: https://github.com/acquia/drupal-environment-detector/compare/1.5.1...1.5.2
Add Composer conflict with BLT versions that subclass detector methods using old signatures
Add Composer conflict with BLT versions that subclass detector methods using old signatures
Added strong typing and removed global variables
Added strong typing and removed global variables
Exclude dev assets from releases #26
Exclude dev assets from releases #26
- Add Acquia Lando support #16 - Change package to library #15
Splits functionality into a primary detector class and separate helper classes.
Splits functionality into a primary detector class and separate helper classes.
The detector class is still responsible for detecting info about the current environment based on environment variables and system paths.
The helper classes can provide canonical locations of files and directories in arbitrary environments, which you can provide via parameters.
- Improved documentation - Improve devcloud detection
Some methods now accept an optional environment parameter and fall back to reading environment variables if it's not provided
Support new IDE AH_SITE_ENVIRONMENT format (lowercase ide)
Support new IDE AH_SITE_ENVIRONMENT format (lowercase ide)
Adds additional functions for AH environment detection: https://github.com/acquia/drupal-environment-detector/pull/3
Adds additional functions for AH environment detection: https://github.com/acquia/drupal-environment-detector/pull/3
Nothing published for this version
One column per quarter.