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

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

davidxu/yii2-adminlte4
======================

adminlte4 for Yii2

1.0.1(1y ago)110613BSD-3-ClauseHTMLPHP &gt;=8.0

Since Jun 24Pushed 1y agoCompare

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

READMEChangelogDependencies (11)Versions (3)Used By (3)

davidxu/yii2-adminlte4
======================

[](#davidxuyii2-adminlte4)

adminlte4 for yii2 using [Bootstrap 5](https://getbootstrap.com/)

[![home](doc/screenshot-adminlte4.png "Home")](doc/screenshot-adminlte4.png)

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

[](#installation)

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

Either run

```
composer require "davidxu/yii2-adminlte4"

```

or add

```
"davidxu/yii2-adminlte4": "^1.0"

```

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

Usage
-----

[](#usage)

Once the extension is installed, you can config the path mappings of the view component:

```
'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/davidxu/yii2-adminlte4/src/views'
             ],
         ],
    ],
],
```

Or copy files from @vendor/davidxu/yii2-adminlte4/src/views to @app/views, then edit.

simply use:

```
