PHPackages                             liyifei/yii2-adminlte - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. liyifei/yii2-adminlte

ActiveYii2-extension[Admin Panels](/categories/admin)

liyifei/yii2-adminlte
=====================

simple way to use adminlte

1.1.1(4y ago)0179Apache-2.0JavaScript

Since Oct 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yii2-composer/yii2-adminlte)[ Packagist](https://packagist.org/packages/liyifei/yii2-adminlte)[ RSS](/packages/liyifei-yii2-adminlte/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

AdminLTE
========

[](#adminlte)

simple way to use adminlte

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist liyifei/yii2-adminlte "*"

```

or add

```
"liyifei/yii2-adminlte": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```

```

### 配置assetmanager，使用自带jquery及bootstrap替换yii2的jquery及bootstrap

[](#配置assetmanager使用自带jquery及bootstrap替换yii2的jquery及bootstrap)

```
'components' => [
    'assetManager'=>[
        'bundles'=>[
            'yii\web\JqueryAsset'=>[
                'class'=>'liyifei\adminlte\bundles\JqueryAsset'
            ],
            'yii\bootstrap\BootstrapAsset'=>[
                'class'=>'liyifei\adminlte\bundles\BootstrapAsset'
            ]
        ]
    ],
],
```

### DatePicker

[](#datepicker)

```
