PHPackages                             johnsnook/yii2-sbadmin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. johnsnook/yii2-sbadmin

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

johnsnook/yii2-sbadmin
======================

A Bootstrap 4 admin template theme for Yii2

v1.0.2(8y ago)2107MITHTML

Since Apr 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/johnsnook/yii2-sbadmin)[ Packagist](https://packagist.org/packages/johnsnook/yii2-sbadmin)[ RSS](/packages/johnsnook-yii2-sbadmin/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

Yii2 SB Admin 2 Theme
=====================

[](#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.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

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' =&gt; \[ 'sbadmin' =&gt; 'johnsnook\\sbadmin\\controllers\\SbAdminController', \],

[.](https://snooky.biz/post/section/Ragedump) [.](https://snooky.biz/post/the-sixth-general-order) [.](https://snooky.biz/post/legal-threats) [.](https://snooky.biz/post/taking-out-the-trash) [.](https://snooky.biz/post/jeez-babe-i-dont-know-whats-wrong) [.](https://snooky.biz/post/my-stupid-vitriol) [.](https://snooky.biz/post/the-drama-train-just-keeps-a-chuggin) [.](https://snooky.biz/post/hypocrisy) [.](https://snooky.biz/post/marjorie-snook-isnt-your-name) [.](https://snooky.biz/post/inconstant-hooer) [.](https://snooky.biz/post/mother-of-the-year)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

3003d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4065107?v=4)[John Snook](/maintainers/johnsnook)[@johnsnook](https://github.com/johnsnook)

---

Top Contributors

[![johnsnook](https://avatars.githubusercontent.com/u/4065107?v=4)](https://github.com/johnsnook "johnsnook (52 commits)")

---

Tags

adminadmin-dashboardbootstrap-4bootstrap4phpthemeyii2phpHTML5templatejqueryyii2extensionthemebootstrapadminbootstrap4sbadminvertnav

### Embed Badge

![Health badge](/badges/johnsnook-yii2-sbadmin/health.svg)

```
[![Health](https://phpackages.com/badges/johnsnook-yii2-sbadmin/health.svg)](https://phpackages.com/packages/johnsnook-yii2-sbadmin)
```

###  Alternatives

[yiister/yii2-adminlte

yii2-adminlte is a package for yii framework 2 that consists a very popular backend template AdminLTE (based on bootstrap 3).

2840.1k](/packages/yiister-yii2-adminlte)[raoul2000/yii2-bootswatch-asset

Use Bootswatch theme in your Yii application with minimum effort

2045.3k4](/packages/raoul2000-yii2-bootswatch-asset)[luyadev/luya-bootstrap4

Bootstrap4 Assets and Helper classes like ActiveForm for LUYA and Yii2.

1844.6k3](/packages/luyadev-luya-bootstrap4)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
