PHP code example of alejan / yii2-configloader
1. Go to this page and download the library: Download alejan/yii2-configloader 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/ */
alejan / yii2-configloader example snippets
use alejan\yii2confload\Config;
t/yii2/Yii.php');
new Config(__DIR__ . '/../../config', ['db', 'params']);
(new yii\web\Application($config->frontend))->run();