Download the PHP package zepgram/magento-dotenv without Composer
On this page you can find all versions of the php package zepgram/magento-dotenv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zepgram/magento-dotenv
More information about zepgram/magento-dotenv
Files in zepgram/magento-dotenv
Download zepgram/magento-dotenv
More information about zepgram/magento-dotenv
Files in zepgram/magento-dotenv
Vendor zepgram
Package magento-dotenv
Short Description Simple autoloader to integrate the Symfony Dotenv component into Magento2
License MIT
Package magento-dotenv
Short Description Simple autoloader to integrate the Symfony Dotenv component into Magento2
License MIT
Please rate this library. Is it a good library?
Informations about the package magento-dotenv
Magento Dotenv
Simple autoloader to integrate Symfony Dotenv component to Magento2.
The implementation can be found under path app/dotenv.php
and can be configured safely for your needs.
Compatibility
Magento Dotenv | v1.* | v2.* |
---|---|---|
Symfony Dotenv | ^5.0 | ^5.4 / ^6.0 |
PHP version | ^7.0 | ^8.0 |
Installation
How to
You can use it similar way as a Symfony project:
- If .env exists, it is loaded first. In case there's no .env file but a .env.dist, this one will be loaded instead.
- If one of the previously mentioned files contains the APP_ENV variable, the variable is populated and used to load environment-specific files hereafter. If APP_ENV is not defined in either of the previously mentioned files, dev is assumed for APP_ENV and populated by default.
- If there's a .env.local representing general local environment variables it's loaded now.
- If there's a .env.$env.local file, this one is loaded. Otherwise, it falls back to .env.$env.
You can freely edit app/dotenv.php
: this file will be not updated.
For more information you can follow the documentation: https://symfony.com/doc/current/components/dotenv.html
All versions of magento-dotenv with dependencies
PHP Build Version
Package Version
The package zepgram/magento-dotenv contains the following files
Loading the files please wait ....