m1roff/yii2-gii
最新稳定版本:2.0.1
Composer 安装命令:
composer require m1roff/yii2-gii
包简介
My useful extension of yii2-gii official module
关键字:
README 文档
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require --dev m1roff/yii2-gii "^2.0"
Configure
add this lines to main-local.php config
if (!YII_ENV_TEST) { ... $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', 'allowedIPs' => ['*'], 'generators' => [ //here 'model' => [ // generator name 'class' => 'm1roff\gii\generators\model\Generator', // generator class 'templates' => [ //setting for out templates 'myModel' => '@m1roff/gii/generators/model/default', // template name => path to template ] ], 'crud' => [ // generator name 'class' => 'm1roff\gii\generators\crud\Generator', // generator class 'templates' => [ //setting for out templates 'myCrud' => '@m1roff/gii/generators/crud/default', // template name => path to template ] ], ], ]; }
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2022-09-08