ivan-chkv / yii2-gii-plus
Yii 2 Gii Plus Extension
Installs: 823
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 3
Type:yii2-extension
Requires
- ivan-chkv/yii2-boost: *
- ivan-chkv/yii2-jui-autocomplete: *
- yiisoft/yii2: >=2.0.4
- yiisoft/yii2-gii: 2.0.5
Requires (Dev)
- ivan-chkv/yii2-phpunit: 2.*
Suggests
- ivan-chkv/yii2-boost: Yii 2 Boost Extension
This package is not auto-updated.
Last update: 2019-02-20 18:43:14 UTC
README
Yii 2 Gii Plus Extension
Base Model Generator
yii gii/base_model --interactive=0
This command generates base models like the following:
- models/base/ModelBase.php
- models/query/base/ModelQueryBase.php
Custom Model Generator
yii gii/custom_model --interactive=0
This command generates base models like the following:
- models/Model.php
- models/query/ModelQuery.php
After Custom Models!
You should regenerate base models after custom models twice.
yii gii/base_model --interactive=0 --overwrite=1
yii gii/base_model --interactive=0 --overwrite=1
A first regeneration inserts relations. A second regeneration updates phpDoc @return directives.