PHP code example of mervick / yii2-adminlte-gii
1. Go to this page and download the library: Download mervick/yii2-adminlte-gii library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mervick / yii2-adminlte-gii example snippets
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',
],
],
],
// ...
],
// ...
];
bash
php composer.phar