PHP Environment

The 3rd factor (Store config in the environment) of Twelve-Factor App methodology states that configuration information should be kept as environment variables and injected into the application on runtime. This library lets your application loads variables from environment variables or any other environment configuration.


Instalation

Composer

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

composer require samy/environment

Please see Composer for more information.


Support