PHP code example of gudezi / yii2-adminlte-asset
1. Go to this page and download the library: Download gudezi/yii2-adminlte-asset 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/ */
gudezi / yii2-adminlte-asset example snippets
'components' => [
'view' => [
'theme' => [
'pathMap' => [
'@app/views' => '@vendor/gudezi/yii2-adminlte-asset/example-views/yiisoft/yii2-app'
],
],
],
],
'components' => [
'view' => [
'theme' => [
'pathMap' => [
'@app/views' => '@vendor/gudezi/yii2-adminlte-asset/example-views/phundament/app'
],
],
],
],
'components' => [
'assetManager' => [
'bundles' => [
'gudezi\web\AdminLteAsset' => [
'skin' => 'skin-black',
],
],
],
],
/* @var $this yii\web\View */
$this->params['breadcrumbs'][] = 'About';
$this->beginBlock('content-header');
'items' => [
['label' => 'Gii', 'icon' => 'fa fa-file-code-o', 'url' => ['/gii']],
['label' => 'Debug', 'icon' => 'fa fa-dashboard', 'url' => ['/debug']],
['label' => 'MAIN NAVIGATION', 'options' => ['class' => 'header']], // here
// ... a group items
['label' => '', 'options' => ['class' => 'header']],
// ... a group items
['label' => '', 'options' => ['class' => 'header']],
// ... a group items
'items' => [
[
'label' => '<span>Mailbox</span><span class="pull-right-container"><small class="label pull-right bg-yellow">' . $mailCount . '</small></span>',
'icon' => 'fa fa fa-envelope-o',
'url' => ['/mailbox'],
'encode' => false,
],
php composer.phar
"skin-blue",
"skin-black",
"skin-red",
"skin-yellow",
"skin-purple",
"skin-green",
"skin-blue-light",
"skin-black-light",
"skin-red-light",
"skin-yellow-light",
"skin-purple-light",
"skin-green-light"