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

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

potime/yii2-adminlte4
=====================

AdminLTE 4 for Yii 2.0 Framework

0.0.3(8mo ago)0101BSD-4-ClausePHPPHP &gt;=8.3

Since Jun 26Pushed 8mo agoCompare

[ Source](https://github.com/potime/yii2-adminlte4)[ Packagist](https://packagist.org/packages/potime/yii2-adminlte4)[ RSS](/packages/potime-yii2-adminlte4/feed)WikiDiscussions main Synced today

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

AdminLTE 4 for Yii 2.0 Framework
================================

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

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist potime/yii2-adminlte4 "*"

```

or add

```
"potime/yii2-adminlte4": "*"

```

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

Usage
-----

[](#usage)

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

```
'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/potime/yii2-adminlte4/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';
```

Thx
---

[](#thx)

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

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance58

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Total

3

Last Release

267d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2354475?v=4)[kbliss](/maintainers/kbliss)[@kbliss](https://github.com/kbliss)

---

Top Contributors

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

---

Tags

yii2extensionAdminLTEadminlte4

### Embed Badge

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

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

###  Alternatives

[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.9M67](/packages/dmstr-yii2-adminlte-asset)[hail812/yii2-adminlte3

adminlte3 for yii2

80267.5k2](/packages/hail812-yii2-adminlte3)

PHPackages © 2026

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