cinghie / yii2-admin-lte
Asset Bundle to include AdminLTE on your Yii 2 project
Package info
github.com/cinghie/yii2-admin-lte
Type:yii2-extension
pkg:composer/cinghie/yii2-admin-lte
Requires
- almasaeed2010/adminlte: ^2.4.10
- cinghie/yii2-fontawesome: @dev
- cinghie/yii2-ionicons: @dev
- cinghie/yii2-traits: @dev
- yiisoft/yii2: ^2.0.15
README
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.