Magento 2 - Save System Config to env.php
Magento 2 module for save determined system config into the env.php file
Installation
Step 1
Using Composer (recommended)
composer require maxmage/magento2-save-config
Manual Installation (less recommended)
- Download the extension
- Unzip the file
- Create a folder {Magento root}/app/code/MaxMage/SaveConfig
- Copy the content from the unzip folder
- Flush cache
Step 2 - Enable the module
php -f bin/magento module:enable --clear-static-content MaxMage_SaveConfig
php -f bin/magento setup:upgrade
php -f bin/magento cache:flush
How To Use
- It's allow you to save the active section config (dropdown, input and textarea)
- It's allow you to save an exactly config record
Module saves actual data which you see on a screen. After import required to run a command in CLI
php -f bin/magento app:config:import
Support
Before reporting an issue, check if you can reproduce it on the clean Magento instance. If that is the cases, please open an issue on GitHub.
Contribution
Want to contribute to this extension? The quickest way is to open a pull request on GitHub.
Need help setting up or want to customize this extension to meet your business needs? Please email us to maxmagedev@gmail.com.