pascini/yii2-gii
Composer 安装命令:
composer require pascini/yii2-gii
包简介
Custom Gii extension for the Yii framework
关键字:
README 文档
README
Customized Yii2 Crud Generator for ajax use
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require raphaelbsr/yii2-gii "~1.0"
or add
"raphaelbsr/yii2-gii": "~1.0"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply modify your application configuration as follows:
... if (!YII_ENV_TEST) { $config['bootstrap'][] = 'debug'; $config['modules']['debug'] = 'yii\debug\Module'; $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', 'generators' => [ 'crud' => [ 'class' => 'yii\gii\generators\crud\Generator', 'templates' => [ 'Raphaelbsr Crud' => '@vendor/raphaelbsr/yii2-gii/crud/default', ], ], ] ]; }
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-30