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

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

wkii/yii2-adminlte
==================

AdminLTE theme for Yii2 Framework

1.0.7(8y ago)71.5k3[2 PRs](https://github.com/wkii/yii2-adminlte/pulls)BSD-3-ClausePHP

Since Aug 20Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (8)Used By (0)

Notice
======

[](#notice)

This project is out of maintenance.

Recommended use:

Yii2 AdminLTE Asset Bundle
==========================

[](#yii2-adminlte-asset-bundle)

*Backend UI for Yii2 Framework, based on [AdminLTE v2.x](https://github.com/almasaeed2010/AdminLTE)*

This package contains an [Asset Bundle for Yii 2.0 Framework](http://www.yiiframework.com/doc-2.0/guide-structure-assets.html)which registers the CSS files for the AdminLTE user-interface.

AdminLTE template require `Font Awesome`, so must installed composer plugins `asset-plugin`.

```
composer global require "fxp/composer-asset-plugin:~1.0.0"

```

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

[](#installation)

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

To install AdminLTE v2 run:

```
composer require wkii/yii2-adminlte

```

Quick Start
-----------

[](#quick-start)

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

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

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

This asset bundle provides sample files for layout and view (see folder `example-views/yii2-app`), they are **Don't modify in the `vendor/` folder**.

Therefore it is recommended to **copy the views files into your application views folder** and adjust them to your needs.

Customization
-------------

[](#customization)

- Copy files from `vendor/wkii/yii2-adminlte/example-views/yii2-app` (or other theme) to `@app/views`.
- Remove the custom `view` configuration from your application by deleting the path mappings, if you have made them before.
- Edit your views adhering to html markup `vendor/almasaeed2010/adminlte/pages`

### AdminLte Skins

[](#adminlte-skins)

By default the extension uses `skin-blue` for AdminLTE. You can change it in config file.

```
'components' => [
    'assetManager' => [
        'bundles' => [
            'Wkii\AdminLTE\Asset\AdminLteAsset' => [
                'skin' => 'skin-red',
            ],
        ],
    ],
],
```

Here is the list of available skins:

```
"skin-blue",
"skin-blue-light",
"skin-yellow",
"skin-yellow-light",
"skin-green",
"skin-green-light",
"skin-purple",
"skin-purple-light",
"skin-red",
"skin-red-light",
"skin-black",
"skin-black-light

```

### For Menu

[](#for-menu)

Example menu see `main-sidebar.php`.

This Widget is extends `yii\widgets\Menu`. Menu item add `icon` attribute. use `Font Awesome` icon. e.g.

```
['label' => 'Gii', 'url' => ['/gii'], 'icon' =>'fa-gavel']

```

Layout
------

[](#layout)

Default layout is `main.php`.
add `single` single page layout. No sidebar, no control-sidebar, no footer, no content-header, no breadcrumbs. for iframe dialog.

Pjax
----

[](#pjax)

pjax templates use [yiisoft/jquery-pjax](https://github.com/yiisoft/jquery-pjax). pjax layout is `pjax-main.php`. It's include `pjax-main-content.php`. `pjax-content.php` output only content of div `#pjax-container`.

Use pjax, you can change it in config

```
'layout' => 'pjax-main',
'components' => [
   // ......
]

```

Or your Controller add attribute

```
public $layout='pjax-main';

```

Controller action example:

```
    public function actionWelcome()
    {
        if (Yii::$app->request->isPjax) {
            $this->layout = 'pjax-content';
            return $this->render('welcome');
        } else {
            return $this->render('welcome');
        }
    }

```

Further Information
-------------------

[](#further-information)

For AdminLTE documentation, please read

-

For Pjax, please read

-
-

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

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 ~120 days

Recently: every ~179 days

Total

7

Last Release

3197d ago

### Community

Maintainers

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

---

Top Contributors

[![wkii](https://avatars.githubusercontent.com/u/1214547?v=4)](https://github.com/wkii "wkii (13 commits)")

---

Tags

adminltecomposerskinyii2yii2-adminlteyii2extensionAdminLTE

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/wkii-yii2-adminlte/health.svg)](https://phpackages.com/packages/wkii-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)

PHPackages © 2026

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