mg-code / yii2-gii
Abstract model generator for Yii2 Gii code generator.
Installs: 1 679
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-12 22:29:35 UTC
README
Abstract model generator for Yii2 Gii code generator.
Install
Either run
$ php composer.phar require mg-code/yii2-gii "@dev"
or add
"mg-code/yii2-gii": "@dev"
to the require
section of your composer.json
file.
Usage
Simply add generator to gii generators list
...
'bootstrap' => 'gii',
'modules' => [
'gii' => [
'generators' => [
'class' => 'yii\gii\Module',
'abstractModel' => [
'class' => 'mgcode\gii\generators\abstractModel\Generator',
],
],
],
],
...