PHP code example of maxwen / yii2-adminlte-gii
1. Go to this page and download the library: Download maxwen/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/ */
maxwen / yii2-adminlte-gii example snippets
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'allowedIPs' => ['127.0.0.1'],
'controllerNamespace' => 'maxwen\gii\controllers',
'generators' => [
'AdminLte Crud' => [
'class' => 'maxwen\gii\generators\crud\Generator',
]
]
];