zgb7mtr / yii2-gii-crud-gentelella
A Gentelella based CRUD template for Yii2
Installs: 33
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
- yiisoft/yii2-bootstrap: ~2.0.0
- yiister/yii2-gentelella: ~1.0
This package is auto-updated.
Last update: 2024-10-29 05:53:12 UTC
README
Installation
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist zgb7mtr/yii2-gii-crud-gentelella "*"
To use this template, add to main config in gii section following code:
'gii' => [ ... 'generators' => [ //here 'crud' => [ // generator name 'class' => 'yii\gii\generators\crud\Generator', // generator class 'templates' => [ //setting for the templates 'Gentelella' => '@vendor/zgb7mtr/yii2-gii-crud-gentelella/src/gii/templates/crud', ] ] .... ],
Changing "Code Template" to Gentelella in Gii CRUD Generator panel.