This generator generates enumerable classes or controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist yii2mod/yii2-gii-extended "*"
or add
"yii2mod/yii2-gii-extended": "*"
to the require section of your composer.json.
To use this extension, add to main config in gii section following code:
'gii' => [
...
'generators' => [
'enumerable' => [
'class' => 'yii2mod\gii\enum\Generator',
],
'crud' => [
'class' => 'yii2mod\gii\crud\Generator',
],
],
],
Comments