Download the PHP package wkii/yii2-adminlte without Composer
On this page you can find all versions of the php package wkii/yii2-adminlte. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-adminlte
Notice
This project is out of maintenance.
Recommended use: https://packagist.org/packages/dmstr/yii2-adminlte-asset
Yii2 AdminLTE Asset Bundle
Backend UI for Yii2 Framework, based on AdminLTE v2.x
This package contains an Asset Bundle for Yii 2.0 Framework which registers the CSS files for the AdminLTE user-interface.
AdminLTE template require Font Awesome
, so must installed composer plugins asset-plugin
.
Installation
The preferred way to install this extension is through composer.
To install AdminLTE v2 run:
Quick Start
Once the extension is installed, you can have a preview by reconfiguring the path mappings of the view component:
For Yii 2 Application Template or Basic Application Template
This asset bundle provides sample files for layout and view (see folder example-views/yii2-app
), they are Don't modify in the vendor/
folder.
Therefore it is recommended to copy the views files into your application views folder and adjust them to your needs.
Customization
- Copy files from
vendor/wkii/yii2-adminlte/example-views/yii2-app
(or other theme) to@app/views
. - Remove the custom
view
configuration from your application by deleting the path mappings, if you have made them before. - Edit your views adhering to html markup
vendor/almasaeed2010/adminlte/pages
AdminLte Skins
By default the extension uses skin-blue
for AdminLTE. You can change it in config file.
Here is the list of available skins:
For Menu
Example menu see main-sidebar.php
.
This Widget is extends yii\widgets\Menu
. Menu item add icon
attribute. use Font Awesome
icon.
e.g.
Layout
Default layout is main.php
.
add single
single page layout. No sidebar, no control-sidebar, no footer, no content-header, no breadcrumbs. for iframe dialog.
Pjax
pjax templates use yiisoft/jquery-pjax.
pjax layout is pjax-main.php
. It's include pjax-main-content.php
.
pjax-content.php
output only content of div #pjax-container
.
Use pjax, you can change it in config
Or your Controller add attribute
Controller action example:
Further Information
For AdminLTE documentation, please read
For Pjax, please read
All versions of yii2-adminlte with dependencies
yiisoft/yii2-bootstrap Version 2.*
almasaeed2010/adminlte Version ~2.0
bower-asset/fontawesome Version >=4.6.3
bower-asset/pace Version 1.*