PHP code example of jimchen / yii2-dotenv-editor
1. Go to this page and download the library: Download jimchen/yii2-dotenv-editor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jimchen / yii2-dotenv-editor example snippets
[
'bootstrap' => [
'dotenv',
],
'modules' => [
'dotenv' => [
'class' => 'JimChen\Yii2DotenvEditor\Module',
'dotenvOptions' => [
'env' => '@app/.env',
'backupPath' => '@runtime/backups',
'autoBackup' => true,
'maxBackup' => 10,
],
],
],
];