PHPackages                             nullref/yii2-admin - 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. [Admin Panels](/categories/admin)
4. /
5. nullref/yii2-admin

ActiveYii2-extension[Admin Panels](/categories/admin)

nullref/yii2-admin
==================

v0.0.3(7y ago)31.2k2[5 issues](https://github.com/NullRefExcep/yii2-admin/issues)1MITPHPPHP &gt;=5.5.0

Since Jul 16Pushed 6y ago5 watchersCompare

[ Source](https://github.com/NullRefExcep/yii2-admin)[ Packagist](https://packagist.org/packages/nullref/yii2-admin)[ RSS](/packages/nullref-yii2-admin/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (1)

Yii2 Admin
==========

[](#yii2-admin)

[![Latest Stable Version](https://camo.githubusercontent.com/97a8d0e104e4a70e9ecb60a28ad661e57e159cdc67c5860cb495c517825ae2b8/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d61646d696e2f762f737461626c65)](https://packagist.org/packages/nullref/yii2-admin) [![Total Downloads](https://camo.githubusercontent.com/454792ee19d76815d9454b62dd26b2fa4fd3fabec89fd9317ed6d811fee4cc0d/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d61646d696e2f646f776e6c6f616473)](https://packagist.org/packages/nullref/yii2-admin) [![Latest Unstable Version](https://camo.githubusercontent.com/568050ad25f25cc93266a28887a78ef518439f7452d94d86a475204fccf647be/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d61646d696e2f762f756e737461626c65)](https://packagist.org/packages/nullref/yii2-admin) [![License](https://camo.githubusercontent.com/240a936748ef7843953699a879d48c193d16a3a35a2e8af729da1bb5e4382eb9/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d61646d696e2f6c6963656e7365)](https://packagist.org/packages/nullref/yii2-admin)

Module for administration

Check extended version of this module at [this link](https://github.com/NullRefExcep/yii2-full-admin)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist nullref/yii2-admin "*"

```

or add

```
"nullref/yii2-admin": "*"

```

to the require section of your `composer.json` file.

Then You have run console command for install this module and run migrations:

```
php yii module/install nullref/yii2-admin
php yii modules-migrate

```

Pay attention that if you don't use our [application template](https://github.com/NullRefExcep/yii2-boilerplate)it needs to change config files structure to have ability run commands that show above.

Please check this [documentation section](https://github.com/NullRefExcep/yii2-core#config-structure)

### Admin Menu

[](#admin-menu)

For adding items to admin menu you have to implement IAdminModule interface, e.g.:

```
public static function getAdminMenu()
   {
       return [
           'label' => \Yii::t('admin', 'Subscription'),
           'icon' => 'envelope',
           'items' => [
               'emails' => ['label' => \Yii::t('app', 'Subscribers'), 'icon' => 'envelope-o', 'url' => ['/subscription/email/index']],
               'messages' => ['label' => \Yii::t('app', 'Messages'), 'icon' => 'envelope-o', 'url' => ['/subscription/message/index']],
           ]
       ];
   }
```

### Admin Controller

[](#admin-controller)

If you use `IAdminController` interface in controller, admin layout and default access rule will be set in controller before action.

### Modules system

[](#modules-system)

This module integrated in system which contain other useful components. [View details](https://github.com/NullRefExcep/yii2-core)

### Overriding

[](#overriding)

Example:

```
/** module config **/

'admin' => [
   'class' => 'nullref\admin\Module',
   'adminModel' => 'app\models\Admin', // admin model class
   'controllerMap' => [  //controllers
      'user' => 'app\modules\admin\controllers\UserController',
      'main' => 'app\modules\admin\controllers\MainController',
   ],
   'components' => [  //menu builder
      'menuBuilder' => 'app\\components\\MenuBuilder',
   ],
],
```

And [translations](https://github.com/NullRefExcep/yii2-core#translation-overriding)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.2% 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 ~427 days

Total

4

Last Release

2697d ago

Major Versions

v0.0.2 → v1.0.x-dev2016-10-15

PHP version history (2 changes)v0.0.1PHP &gt;=5.4.0

v0.0.3PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5e9417df48f462cf27e16429bed321f138e1db5b943c6b026aab97b86b42b55?d=identicon)[ZAYEC77](/maintainers/ZAYEC77)

---

Top Contributors

[![ZAYEC77](https://avatars.githubusercontent.com/u/4509483?v=4)](https://github.com/ZAYEC77 "ZAYEC77 (95 commits)")[![lijkbezorger](https://avatars.githubusercontent.com/u/12811869?v=4)](https://github.com/lijkbezorger "lijkbezorger (6 commits)")[![steal9pro](https://avatars.githubusercontent.com/u/10708482?v=4)](https://github.com/steal9pro "steal9pro (1 commits)")[![tenfrow](https://avatars.githubusercontent.com/u/7600781?v=4)](https://github.com/tenfrow "tenfrow (1 commits)")

---

Tags

yii2yii2-adminyii2-extensionyii2-modules

### Embed Badge

![Health badge](/badges/nullref-yii2-admin/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[fancyecommerce/fec_admin

fancy ecommerce

6312.2k1](/packages/fancyecommerce-fec-admin)[dmstr/yii2-backend-module

Admin Dashboard

1974.1k3](/packages/dmstr-yii2-backend-module)

PHPackages © 2026

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