JoliCode - What you need to know about environment variables with PHP
Environment variables for configuration are today's best practice for application setup - database credentials, API Keys, secrets and everything varying between deploys are now exposed to the code via the environment, instead of configuration files or worse, directly hard-coded.