PHP code example of colee / yii2-gii
1. Go to this page and download the library: Download colee/yii2-gii 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/ */
colee / yii2-gii example snippets
php
$config['modules']['gii']['generators'] = [
'model' => [
'class' => 'colee\gii\model\Generator'
],
];
php
$config['modules']['gii']['generators'] = [
'fixtures' => [
'class' => 'colee\gii\fixtures\Generator'
],
];
shell
codecept run .\unit\models\LoginFormTest.php:testLoginNoUser