johnsnook / yii2-sbadmin
A Bootstrap 4 admin template theme for Yii2
Installs: 94
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Type:yii2-extension
Requires
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap: ~2.1.0
This package is not auto-updated.
Last update: 2024-11-19 05:30:30 UTC
README
A Bootstrap 4 admin template theme for Yii2. Developed for a Yii2 advanced installation, but should work fine with a basic install.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist johnsnook/yii2-sbadmin "~1.0.0"
or add
"johnsnook/yii2-sbadmin": "~1.0.0"
to the require section of your composer.json
file.
Minimum stability should be changed from 'stable' to dev
"minimum-stability": "dev",
And since we're using Bootstrap 4, change the yii2-bootstrap line to
"yiisoft/yii2-bootstrap": "~2.1.0"
````
Usage
-----
The layout files should be copied from @vendor/johnsnook/sbadmin/example-layouts to backend/views/layouts where you can modify them to your hearts content. navigation.php will probably be your main focus.
Obviously in progress, I started work on 4/3/2018.
To enable the example pages add this to your config/main.php at the top level
'controllerMap' => [ 'sbadmin' => 'johnsnook\sbadmin\controllers\SbAdminController', ],