forex-formula / yii2-gii-plus
Yii 2 Gii Plus Extension
Installs: 1 043
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Type:yii2-extension
Requires
- forex-formula/yii2-boost: *
- forex-formula/yii2-gii: >=2.0.5
- ivan-chkv/yii2-jui-autocomplete: *
- yiisoft/yii2: >=2.0.4
Requires (Dev)
- ivan-chkv/yii2-phpunit: 2.*
Suggests
- ivan-chkv/yii2-boost: Yii 2 Boost Extension
This package is not auto-updated.
Last update: 2025-03-30 08:48:41 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.