cinghie/yii2-admin-lte

Asset Bundle to include AdminLTE on your Yii 2 project

Maintainers

Package info

github.com/cinghie/yii2-admin-lte

Type:yii2-extension

pkg:composer/cinghie/yii2-admin-lte

Transparency log

Statistics

Installs: 1 528

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 6

1.5.5 2019-04-19 19:17 UTC

README

License Latest Stable Version Latest Release Date Latest Commit Total Downloads

Asset Bundle to include AdminLTE on your Yii 2 project: https://github.com/almasaeed2010/AdminLTE/

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require cinghie/yii2-admin-lte "^1.5.5"

or add this line to the require section of your composer.json file.

"cinghie/yii2-admin-lte": "^1.5.5"

Configuration

Add in the view for normal CSS and JS

use cinghie\adminlte\AdminLTEAsset;

AdminLTEAsset::register($this);

Add in the view for minify CSS and JS

use cinghie\adminlte\AdminLTEMinifyAsset;

AdminLTEMinifyAsset::register($this);

Widgets Examples

Alert
Box
Content Header
DataColumn
Footer
GridView
Invoice
Mailbox Read
Navbar Button
Navbar Logo
Navbar User
Sidebar Menu
Sidebar Search
Sidebar Toggle
Sidebar User
Simplebox
Timeline

Tests

composer test
# or
vendor/bin/phpunit -c tests/phpunit.xml

Suite covers Yii2 best practices (widgets/assets/use imports), Invoice encoding & API, Box content/grid modes, and smoke tests for Alert / Simplebox / Footer / Navbar / Sidebar widgets.