mervick / yii2-adminlte-gii
Yii2 AdminLTE Gii Extension
Installs: 528
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 5
Forks: 2
Open Issues: 1
Type:yii2-extension
Requires
- php: >=5.4.0
- mervick/yii2-adminlte-behaviors: *
- yiisoft/yii2: *
- yiisoft/yii2-gii: ~2.0
This package is not auto-updated.
Last update: 2024-10-26 18:38:44 UTC
README
Yii2 Framework Code Generator Extension Gii for AdminLTE template
Installation
This package required by mervick/yii2-adminlte.
If you want install this manually, open terminal and run:
php composer.phar require "mervick/yii2-adminlte-gii" "*"
or add to composer.json
"require": { "mervick/yii2-adminlte-gii": "*" }
Usage
Then extension was installed add the following lines in your configuration file:
return [ 'bootstrap' => ['gii'], 'modules' => [ 'gii' => [ 'class' => 'yii\gii\Module', 'controllerNamespace' => 'mervick\adminlte\gii\controllers', 'generators' => [ 'AdminLTE crud' => [ 'class' => 'mervick\adminlte\gii\generators\crud\Generator', ], 'AdminLTE model' => [ 'class' => 'mervick\adminlte\gii\generators\model\Generator', ], ], ], // ... ], // ... ];
Preview
![AdminLTE Gii] (http://webstyle.od.ua/test/yii/gii.png)