Provide:
- usage of relations in views and search
- image, sorter, status columns
- better views
- integrations with other my extensions
- autocompletion
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist webvimark/generators "*"
or add
"webvimark/generators": "*"
to the require section of your composer.json
file.
In your config/web.php
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class'=>'yii\gii\Module',
'generators' => [
'n-model' => 'webvimark\generators\model\Generator',
'n-crud' => 'webvimark\generators\crud\Generator',
'n-module' => 'webvimark\generators\module\Generator',
'n-extension' => 'webvimark\generators\extension\Generator',
]
];
Go to gii