PHP code example of wolfguard / yii2-config
1. Go to this page and download the library: Download wolfguard/yii2-config 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/ */
wolfguard / yii2-config example snippets
return [
...
'modules' => [
...
'config' => [
'class' => 'wolfguard\config\Module',
],
...
],
...
];
<?= \wolfguard\config\widgets\Config::widget(['code' => 'email-from']);
php composer.phar
php composer.phar update
config/web.php