1. Go to this page and download the library: Download yourickds/adminlte 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/ */
yourickds / adminlte example snippets
'modules' => [
'adminlte' => [
'class' => 'yourickds\adminlte\Init',
'layout' => 'main', // main or top
'layoutBody' => 'fixed', // fixed, layout-boxed or empty
'toggleSidebar' => false,
'sidebarExpandHover' => false,
'toggleRightSidebarSlide' => true,
// Toggle between dark and light skins for the right sidebar
'toggleRightSidebarSkin' => 'dark',
// skin-blue, skin-black, skin-purple, skin-green, skin-red, skin-yellow,
// skin-blue-light, skin-black-light, skin-purple-light, skin-green-light,
// skin-red-light, skin-yellow-light
'skin' => 'skin-green',
'dashboard' => 'v2' // v1 or v2
]
],
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'generators' => [
'crud' => [
'class' => 'yii\gii\generators\crud\Generator',
'templates' => [
'adminlte' => '@vendor/yourickds/adminlte/gii/crud',
]
]
],
// uncomment the following to add your IP if you are not connecting from localhost.
// 'allowedIPs' => ['127.0.0.1', '::1'],
];