socialist/yii2-admin-lte

Admin LTE themr for Yii2

Installs: 118

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

0.5.9 2018-07-07 14:42 UTC

This package is auto-updated.

Last update: 2024-11-24 21:06:47 UTC


README

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