This is yet another yii2 based sb admin theme extension.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example-layouts I don't know exactly but Jul 1, 2018
sb-admin Should do Apr 3, 2018
LICENSE Totes working (#7) Apr 9, 2018
composer.lock commited to wrong branch (#6) Apr 8, 2018

Yii2 SB Admin 2 Theme

A Bootstrap 4 admin template theme for Yii2. Developed for a Yii2 advanced installation, but should work fine with a basic install.


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"


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', ],

. . . . . . . . . . .