Skip to content
Admin LTE theme for Yii2
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
base
box
docs/ru
helper
messages/ru
views/layout
widgets
.directory
.gitignore
Bootstrap.php
LICENSE
README.md
composer.json
composer.lock

README.md

Admin LTE for Yii2

Admin LTE themr for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist socialist/yii2-admin-lte "*"

or add

"socialist/yii2-admin-lte": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply add in the right file, for example in the beginning of the file @views/layout/main:

<?php

use socialist\adminlte\assets\AdminAsset;

AdminAsset::register($this);

?>

Or you can replace the default layout in the app settings:

<?php
return [
    // ...
    
    'layout' => '@vendor/adminlte/layout/main',
    
    // ...
]
?>

More documentations

Russian

You can’t perform that action at this time.