MaxMage / magento2-save-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magento 2 - Save System Config to env.php

Magento 2 module for save determined system config into the env.php file

Installation

Step 1

composer require maxmage/magento2-save-config
  • 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

  1. It's allow you to save the active section config (dropdown, input and textarea)
  2. 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.

About

License:Open Software License 3.0


Languages

Language:PHP 68.8%Language:HTML 31.2%