PHPackages                             yidas/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. yidas/yii2-adminlte

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

yidas/yii2-adminlte
===================

AdminLTE Asset Bundle for Yii2 Framework

2.2.0(8y ago)619.3k↓21.4%4MITPHP

Since Oct 17Pushed 7y ago2 watchersCompare

[ Source](https://github.com/yidas/yii2-adminlte)[ Packagist](https://packagist.org/packages/yidas/yii2-adminlte)[ RSS](/packages/yidas-yii2-adminlte/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

AdminLTE Extension for Yii 2
=============================

[](#adminlte-extension-for-yii-2-)

AdminLTE Asset Bundle for Yii2 Framework

[![Latest Stable Version](https://camo.githubusercontent.com/dec0bf82fe7df015a2879d4e88a0b6afcf2f2eb15ed6416fadf8cc149bde4585/68747470733a2f2f706f7365722e707567782e6f72672f79696461732f796969322d61646d696e6c74652f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/yidas/yii2-adminlte)[![License](https://camo.githubusercontent.com/317e12485c4783386b714669bf3fcf025d9b58ee100ea7ef27dd9ba360d0fbeb/68747470733a2f2f706f7365722e707567782e6f72672f79696461732f796969322d61646d696e6c74652f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/yidas/yii2-adminlte)[![Total Downloads](https://camo.githubusercontent.com/cab64a9920d0798d627449be7cb84be1caceee6fb7ed267d5e27e84e6f4095af/68747470733a2f2f706f7365722e707567782e6f72672f79696461732f796969322d61646d696e6c74652f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/yidas/yii2-adminlte)[![Monthly Downloads](https://camo.githubusercontent.com/9e84950067b7b4c9b06f1b4dd09681c56dc6db9b9f8bbfbe2a329ac7cac72692/68747470733a2f2f706f7365722e707567782e6f72672f79696461732f796969322d61646d696e6c74652f642f6d6f6e74686c793f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/yidas/yii2-adminlte)

This is the [AdminLTE](https://adminlte.io/) extension for [Yii framework 2.0](http://www.yiiframework.com/). It encapsulates [AdminLTE](https://github.com/almasaeed2010/AdminLTE) distribution assets and thus makes using AdminLTE in Yii applications extremely easy.

---

DEMONSTRATION
-------------

[](#demonstration)

[![](https://raw.githubusercontent.com/yidas/yii2-adminlte/master/img/demo.png)](https://raw.githubusercontent.com/yidas/yii2-adminlte/master/img/demo.png)

---

INSTALLATION
------------

[](#installation)

The preferred install way is through [Composer](http://getcomposer.org/download/):

```
composer require yidas/yii2-adminlte

```

Or you could also edit `composer.json` with adding package in require section then run `composer update`.

```
"yidas/yii2-adminlte": "~2.1.0"

```

---

CONFIGURATION
-------------

[](#configuration)

Register or depend Asset into your application:

```
yidas\adminlte\AdminlteAsset
```

For eaxmple, to register AdminLTE assets in view :

```
\yidas\adminlte\AdminlteAsset::register($this);
```

Or as dependency in your app asset bundle :

```
namespace app\assets;
use yii\web\AssetBundle;
class AppAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [
        'css/site.css',
    ];
    public $js = [
    ];
    public $depends = [
        'yidas\adminlte\AdminlteAsset'
    ];
}
```

---

CUSTOMIZATION
-------------

[](#customization)

### Skin

[](#skin)

Configurate asset in `config` file:

```
'components' => [
    'assetManager' => [
        'bundles' => [
            'yidas\adminlte\AdminlteAsset' => [
                'skin' => 'skin-black',
            ],
        ],
    ],
],
```

---

USAGE
-----

[](#usage)

### Version Control

[](#version-control)

#### Update dependent packages

[](#update-dependent-packages)

```
composer update yidas/yii2-adminlte

```

#### Update newest AdminLTE version

[](#update-newest-adminlte-version)

```
composer update almasaeed2010/AdminLTE

```

#### Specify a AdminLTE version

[](#specify-a-adminlte-version)

```
composer require almasaeed2010/AdminLTE 2.4.0

```

---

PLUGINS
-------

[](#plugins)

This package provides asset bundles of AdminLTE plugins:

### iCheck

[](#icheck)

Register or depend Asset into your application:

```
yidas\yii2\adminlte\plugins\iCheckAsset
```

You could additionally register AdminLTE iCheck assets in view:

```
\yidas\yii2\adminlte\plugins\iCheckAsset::register($this);
```

#### Skin

[](#skin-1)

```
'components' => [
    'assetManager' => [
        'bundles' => [
            'yidas\yii2\adminlte\plugins\iCheckAsset' => [
                'skin' => 'flat/aero',
            ],
        ],
    ],
],
```

TEMPLATES
---------

[](#templates)

Once the extension is installed, you can have a preview by reconfiguring the path mappings of the view component in config:

```
    'components' => [
        'view' => [
            'theme' => [
                'pathMap' => [
                   '@app/views' => '@vendor/yidas/yii2-adminlte/templates/example'
                ],
            ],
        ],
    ],
```

> Support both [Yii 2 Advanced Application Template](https://github.com/yiisoft/yii2-app-advanced) or [Basic Application Template](https://github.com/yiisoft/yii2-app-basic).

### Example Templates

[](#example-templates)

There are several implemented examples of AdminLTE layout for startup.

```
'@app/views' => '@vendor/yidas/yii2-adminlte/templates/simple'
```

```
'@app/views' => '@vendor/yidas/yii2-adminlte/templates/simple_zh-TW'
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Total

5

Last Release

2930d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b30d2b2c0b53aef65fad4af56cd3c7912d3db2b612890c706fe79448717f6aba?d=identicon)[yidas](/maintainers/yidas)

---

Top Contributors

[![yidas](https://avatars.githubusercontent.com/u/12604195?v=4)](https://github.com/yidas "yidas (17 commits)")

---

Tags

admin-dashboardadminlteyii2-assetyii2-frameworkyiiAdminLTEassetasset bundle

### Embed Badge

![Health badge](/badges/yidas-yii2-adminlte/health.svg)

```
[![Health](https://phpackages.com/badges/yidas-yii2-adminlte/health.svg)](https://phpackages.com/packages/yidas-yii2-adminlte)
```

###  Alternatives

[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[deyraka/yii2-material-dashboard

Material Dashboard Theme for Yii 2.0

121.9k](/packages/deyraka-yii2-material-dashboard)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
