inquid/yii2-enhanced-gii
Composer 安装命令:
composer require inquid/yii2-enhanced-gii
包简介
Generate Relational (hasMany, hasOne, belongsTo, & nested) Models & CRUD.
关键字:
README 文档
README
All things needed to create a fully functional application just to modify the business logic to fit your needs 🚀
Installation
The preferred way to install this extension is through composer.
Either run
composer require inquid/yii2-enhanced-gii:dev-master
or add
"inquid/yii2-enhanced-gii": "dev-master",
to the require section of your composer.json file.
I separate the tree-manager because the package is big & not everyone will use it.
Then you must add this code at your config\main.php.
'modules' => [ 'gridview' => [ 'class' => '\kartik\grid\Module', ], 'datecontrol' => [ 'class' => '\kartik\datecontrol\Module', ], // If you use tree table 'treemanager' => [ 'class' => '\kartik\tree\Module', ] ],
See gridview settings on http://demos.krajee.com/grid#module
See datecontrol settings on http://demos.krajee.com/datecontrol#module
See treemanager settings on http://demos.krajee.com/tree-manager#module (If you use tree/nested relation table)
Usage :
Go to your gii tools, and notice the new IO Generator for models & CRUD
统计信息
- 总下载量: 1.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-07-22