inquid / yii2-enhanced-gii
Generate Relational (hasMany, hasOne, belongsTo, & nested) Models & CRUD.
Installs: 1 006
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 6
Forks: 98
Open Issues: 14
Type:yii2-extension
This package is auto-updated.
Last update: 2024-11-17 04:06:51 UTC
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