Env How to install Add the package philipschlender/env-php to the require or require-dev element of the composer.json file composer require philipschlender/env-php