PHPackages                             ndobromirov/php-env-dereference - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ndobromirov/php-env-dereference

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ndobromirov/php-env-dereference
===============================

PHP environment variables dereference library.

0.4.0(6y ago)11.9kMITPHPPHP &gt;=5CI failing

Since Feb 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ndobromirov/php-env-dereference)[ Packagist](https://packagist.org/packages/ndobromirov/php-env-dereference)[ RSS](/packages/ndobromirov-php-env-dereference/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

php-env-dereference
===================

[](#php-env-dereference)

Allow dereferencing of environment variables in PHP.

Overview
--------

[](#overview)

This is generally useful, in cloud environments, where different backing services are injected into PHP with some strange names. At that point the developer is either using that strange names in his code or starting to do workarounds.

This particular library solves this based on the idea from variable dereference feature that is [already in PHP engine](http://php.net/manual/en/language.variables.variable.php).

```
