PHP code example of gud3 / yii2-helpers
1. Go to this page and download the library: Download gud3/yii2-helpers 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/ */
gud3 / yii2-helpers example snippets
php composer.phar
return [
'components' => [
...
],
'controllerMap' => [
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'templateFile' => '@vendor/gud3/yii2-helpers/migrations/templates/base.php'
],
],
...
];