PHPackages                             mztest/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. mztest/yii2-admin

ActiveYii2-extension[Authentication &amp; Authorization](/categories/authentication)

mztest/yii2-admin
=================

RBAC Auth manager for Yii2

3.20.11(1y ago)09BSD-3-ClausePHPPHP 8.\*

Since May 27Pushed 1y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (26)Used By (0)

RBAC Manager for Yii 2
======================

[](#rbac-manager-for-yii-2)

GUI manager for RBAC (Role Base Access Control) Yii2. Easy to manage authorization of user 😄.

[![Latest Stable Version](https://camo.githubusercontent.com/38ea78c6e6b18670b60d31d3354d299631a0b818b8ab3b18a8079f75c3e3e0f9/687474703a2f2f706f7365722e707567782e6f72672f6d7a746573742f796969322d61646d696e2f76)](https://packagist.org/packages/mztest/yii2-admin)[![Total Downloads](https://camo.githubusercontent.com/5e6c586888c9d0773ba35083ee2afff42744ab6969bb8128246bde061e01de2e/687474703a2f2f706f7365722e707567782e6f72672f6d7a746573742f796969322d61646d696e2f646f776e6c6f616473)](https://packagist.org/packages/mztest/yii2-admin)[![Latest Unstable Version](https://camo.githubusercontent.com/5949f70c693b69c8fc42536c7b2e9c83264a48f91d3753b3456c96b8bd5e010a/687474703a2f2f706f7365722e707567782e6f72672f6d7a746573742f796969322d61646d696e2f762f756e737461626c65)](https://packagist.org/packages/mztest/yii2-admin)[![License](https://camo.githubusercontent.com/8156a4aeeb7a3c7ae2a678ef2376975b38c64b384f84e6c3a684d2b4a424f83c/687474703a2f2f706f7365722e707567782e6f72672f6d7a746573742f796969322d61646d696e2f6c6963656e7365)](https://packagist.org/packages/mztest/yii2-admin)[![PHP Version Require](https://camo.githubusercontent.com/948077d8c1f91306d835bc184ed959ccfb51751defa9c21d7557021746546550/687474703a2f2f706f7365722e707567782e6f72672f6d7a746573742f796969322d61646d696e2f726571756972652f706870)](https://packagist.org/packages/mztest/yii2-admin)

Documentation
-------------

[](#documentation)

> **Important: If you install version 3.x, please see [this readme](https://github.com/mdmsoft/yii2-admin/blob/3.master/README.md#upgrade-from-2x).**

- [Change Log](CHANGELOG.md).
- [Authorization Guide](http://www.yiiframework.com/doc-2.0/guide-security-authorization.html). Important, read this first before you continue.
- [Basic Configuration](docs/guide/configuration.md)
- [Basic Usage](docs/guide/basic-usage.md).
- [User Management](docs/guide/user-management.md).
- [Using Menu](docs/guide/using-menu.md).
- [Api](https://mdmsoft.github.io/yii2-admin/index.html).

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

[](#installation)

### Install With Composer

[](#install-with-composer)

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

Either run

```
php composer.phar require mztest/yii2-admin "~2.0"

```

Or, you may add

```
"mztest/yii2-admin": "~2.0"

```

to the require section of your `composer.json` file and execute `php composer.phar update`.

### Install From the Archive

[](#install-from-the-archive)

Download the latest release from here [releases](https://github.com/mdmsoft/yii2-admin/releases), then extract it to your project. In your application config, add the path alias for this extension.

```
return [
    ...
    'aliases' => [
        '@mdm/admin' => 'path/to/your/extracted',
        // for example: '@mdm/admin' => '@app/extensions/mdm/yii2-admin-2.0.0',
        ...
    ]
];
```

[**More...**](docs/guide/configuration.md)

[screenshots](https://goo.gl/r8RizT)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance41

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 73.8% 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 ~203 days

Recently: every ~787 days

Total

20

Last Release

494d ago

Major Versions

1.0.5 → 2.0.02015-06-04

2.9 → 3.20.02024-08-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a6467ec78dea5fcad4d67b5b3181bd5960294887e0a51819d35d27554bf0208?d=identicon)[mztest](/maintainers/mztest)

---

Top Contributors

[![mdmunir](https://avatars.githubusercontent.com/u/5828252?v=4)](https://github.com/mdmunir "mdmunir (253 commits)")[![sihar](https://avatars.githubusercontent.com/u/4416176?v=4)](https://github.com/sihar "sihar (23 commits)")[![sosojni](https://avatars.githubusercontent.com/u/3853867?v=4)](https://github.com/sosojni "sosojni (9 commits)")[![softark](https://avatars.githubusercontent.com/u/342857?v=4)](https://github.com/softark "softark (9 commits)")[![mztest](https://avatars.githubusercontent.com/u/323810?v=4)](https://github.com/mztest "mztest (7 commits)")[![hscstudio](https://avatars.githubusercontent.com/u/2976897?v=4)](https://github.com/hscstudio "hscstudio (6 commits)")[![iforme](https://avatars.githubusercontent.com/u/5034903?v=4)](https://github.com/iforme "iforme (4 commits)")[![kongoon](https://avatars.githubusercontent.com/u/186737?v=4)](https://github.com/kongoon "kongoon (3 commits)")[![jafaripur](https://avatars.githubusercontent.com/u/5066430?v=4)](https://github.com/jafaripur "jafaripur (2 commits)")[![engineergym](https://avatars.githubusercontent.com/u/216024296?v=4)](https://github.com/engineergym "engineergym (2 commits)")[![realtebo](https://avatars.githubusercontent.com/u/1268699?v=4)](https://github.com/realtebo "realtebo (2 commits)")[![re3lex](https://avatars.githubusercontent.com/u/4106391?v=4)](https://github.com/re3lex "re3lex (2 commits)")[![firefox747](https://avatars.githubusercontent.com/u/10910907?v=4)](https://github.com/firefox747 "firefox747 (2 commits)")[![marsuboss](https://avatars.githubusercontent.com/u/5856?v=4)](https://github.com/marsuboss "marsuboss (2 commits)")[![marciocamello](https://avatars.githubusercontent.com/u/4071580?v=4)](https://github.com/marciocamello "marciocamello (2 commits)")[![zakdma](https://avatars.githubusercontent.com/u/12795788?v=4)](https://github.com/zakdma "zakdma (1 commits)")[![cgernert](https://avatars.githubusercontent.com/u/17023559?v=4)](https://github.com/cgernert "cgernert (1 commits)")[![loveorigami](https://avatars.githubusercontent.com/u/98164?v=4)](https://github.com/loveorigami "loveorigami (1 commits)")[![noname007](https://avatars.githubusercontent.com/u/8514816?v=4)](https://github.com/noname007 "noname007 (1 commits)")[![pgyf](https://avatars.githubusercontent.com/u/3365344?v=4)](https://github.com/pgyf "pgyf (1 commits)")

---

Tags

authrbacyiiadmin

### Embed Badge

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

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

###  Alternatives

[windhoney/yii2-rest-rbac

RBAC Auth manager for Yii2 RESTful

811.2k](/packages/windhoney-yii2-rest-rbac)[izyue/yii2-admin

RBAC Auth manager for Yii2

391.8k](/packages/izyue-yii2-admin)

PHPackages © 2026

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