PHPackages                             potime/yii2-adminlte3 - 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. potime/yii2-adminlte3

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

potime/yii2-adminlte3
=====================

AdminLTE 3 for Yii 2.0 Framework

v1.1.6(6mo ago)2157BSD-4-ClausePHPPHP &gt;=7.0

Since Dec 3Pushed 6mo ago1 watchersCompare

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

READMEChangelog (9)Dependencies (4)Versions (10)Used By (0)

AdminLTE 3 for Yii 2.0 Framework
================================

[](#adminlte-3-for-yii-20-framework)

AdminLTE 3 for Yii 2.0 Framework

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist potime/yii2-adminlte3 "^1.0"

```

or add

```
"potime/yii2-adminlte3": "^1.0"

```

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

Usage
-----

[](#usage)

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

```
'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/potime/yii2-adminlte3/src/example/yii2-views'
             ],
         ],
    ],
],
```

This asset bundle provides sample files for layout and view (see folder `examples/`), they are **not meant to be customized directly in the `vendor/` folder**.

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

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

[](#customization)

#### Widget Menu (Left Sidebar)

[](#widget-menu-left-sidebar)

```
'items' => [
    [
        'label' => 'YII Tools',
        'iconType' => 'far',
        'icon' => 'share',
        'badge' => ['message' => 'New', 'badgeType' => 'danger'],
        'items' => [
            ['label' => 'Login', 'url' => ['site/login'], 'icon' => 'sign-in-alt', 'visible' => Yii::$app->user->isGuest],
            ['label' => 'Gii', 'url' => ['/gii'], 'icon' => 'file-code', 'target' => '_blank'],
            ['label' => 'Debug', 'url' => ['/debug'], 'icon' => 'bug', 'target' => '_blank', 'badge' => ['badgeType' => 'warning', 'message' => 2]],
        ]
    ],
]
```

#### Layouts (login)

[](#layouts-login)

Use the code in your controller.

```
$this->layout = '/main-login';
```

#### Template for Gii CRUD generator

[](#template-for-gii-crud-generator)

Tell Gii about our template. The setting is made in the config file:

```
if (!YII_ENV_TEST) {
    $config['modules']['gii'] = [
        'class' => 'yii\gii\Module',
        'generators' => [
            'crud' => [
                'class' => 'yii\gii\generators\crud\Generator',
                'templates' => [
                    'adminlte3' => '@vendor/potime/yii2-adminlte3/src/gii/generators/crud/adminlte3'
                ]
            ]
        ]
    ];
}
```

Plugin
------

[](#plugin)

### bs-custom-file-input

[](#bs-custom-file-input)

A little plugin which makes Bootstrap 4 custom file input dynamic with no dependencies.

[bs-custom-file-input](https://github.com/Johann-S/bs-custom-file-input).

##### How to use it

[](#how-to-use-it)

```

$(document).ready(function () {
  bsCustomFileInput.init()
})
```

Thx
---

[](#thx)

[ColorlibHQ/AdminLTE](https://github.com/ColorlibHQ/AdminLTE).

[dmstr/yii2-adminlte-asset](https://github.com/dmstr/yii2-adminlte-asset).

[hail812/yii2-adminlte3](https://github.com/hail812/yii2-adminlte3).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance66

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Recently: every ~393 days

Total

9

Last Release

208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8db57fd77b655741e4d0e8ecf039687958511e285b084091ad36191f0663761d?d=identicon)[kbliss](/maintainers/kbliss)

---

Top Contributors

[![kbless](https://avatars.githubusercontent.com/u/7380024?v=4)](https://github.com/kbless "kbless (23 commits)")

---

Tags

yii2extensionAdminLTE

### Embed Badge

![Health badge](/badges/potime-yii2-adminlte3/health.svg)

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

###  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)
