Download the PHP package imunhatep/checkenv without Composer
On this page you can find all versions of the php package imunhatep/checkenv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package checkenv
Checks that provided environment contains all variables defined in dotenv file
Compares application environment variables against .env
file. It could be useful on InitContainer
stage to validate cluster settings for PHP application deployment.
Based on Symfony/Console component,
Installation:
Usage example:
Note: by default Symfony4 loads .env
on every application invoke, check your project config/bootstrap.php
:
Fix for config/bootstrap.php
, to skip loading .env
in case APP_ENV
variable is defined.
Added check: } elseif (getenv('APP_ENV') === false) {
All versions of checkenv with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
symfony/dotenv Version ^3.0|^4.0|^5.0
symfony/console Version ^3.0|^4.0|^5.0
symfony/dotenv Version ^3.0|^4.0|^5.0
symfony/console Version ^3.0|^4.0|^5.0
The package imunhatep/checkenv contains the following files
Loading the files please wait ....