yii2mod / yii2-gii-extended
This generator generates a controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.
Installs: 5 096
Dependents: 2
Suggesters: 0
Security: 0
Stars: 8
Watchers: 6
Forks: 2
Open Issues: 0
Type:yii2-extension
This package is not auto-updated.
Last update: 2024-11-20 13:47:31 UTC
README
This generator generates enumerable classes or controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.
Installation
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', ], ], ],