PHPackages                             toir427/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. toir427/yii2-admin

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

toir427/yii2-admin
==================

RBAC Auth manager for Yii2

041[1 PRs](https://github.com/toir427/yii2-admin/pulls)PHP

Since Oct 27Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

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

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

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

[![Latest Unstable Version](https://camo.githubusercontent.com/8b3679e90a3fa4aca1e28334f39a501afcdb4900949dfe13626b4ea3c85aae57/68747470733a2f2f706f7365722e707567782e6f72672f746f69723432372f796969322d61646d696e2f762f756e737461626c65)](https://packagist.org/packages/toir427/yii2-admin)[![Total Downloads](https://camo.githubusercontent.com/8e3120fdbb023b156427a26eb8dc9da2112ae35ba1cd76da6ad5fb0d6ac558c5/68747470733a2f2f706f7365722e707567782e6f72672f746f69723432372f796969322d61646d696e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/toir427/yii2-admin)[![Daily Downloads](https://camo.githubusercontent.com/43637a5e91a88e77f9185554641e211a6484bb27631196f15b235380d6f10223/68747470733a2f2f706f7365722e707567782e6f72672f746f69723432372f796969322d61646d696e2f642f6461696c79)](https://packagist.org/packages/toir427/yii2-admin)[![License](https://camo.githubusercontent.com/69fe5355608c46057a372e77a867acc596251729fb98f7223e31739886868c22/68747470733a2f2f706f7365722e707567782e6f72672f746f69723432372f796969322d61646d696e2f6c6963656e7365)](https://packagist.org/packages/toir427/yii2-admin)[![Reference Status](https://camo.githubusercontent.com/9a3654dcdc2d7a251b584216d0e85f8a756ec83dc1655bb922a5acb5920c0dab/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f746f69723432373a796969322d61646d696e2f7265666572656e63655f62616467652e737667)](https://www.versioneye.com/php/toir427:yii2-admin/references)[![Build Status](https://camo.githubusercontent.com/767045942638815f6b19a381a8e97913aa31bc0ce084da84d2defbcd5db0de04/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f69723432372f796969322d61646d696e2e737667)](http://travis-ci.org/toir427/yii2-admin)[![Dependency Status](https://camo.githubusercontent.com/b367d49fbc0d03353946328d6f40eb74146301913a8a3d135fd3b6ede39440d9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f746f69723432373a796969322d61646d696e2f6465762d6d61737465722f62616467652e706e67)](https://www.versioneye.com/php/toir427:yii2-admin/dev-master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5ff5e08e0970e8638e3f6794b7911d5e1f56ea4912186751ea87b1540e8bb6c3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f69723432372f796969322d61646d696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/toir427/yii2-admin/?branch=master)[![Code Climate](https://camo.githubusercontent.com/ca87a3af10109e21f6ada9f6722e71dc0a7fb9425547bc73b52367f2a48028a1/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f746f69723432372f796969322d61646d696e2e737667)](https://codeclimate.com/github/toir427/yii2-admin)

Credits
-------

[](#credits)

This extension has been picked up from [mdmsoft's yii2-admin](https://github.com/mdmsoft/yii2-admin) and has been customised to work with RBAC. Great work mdmsoft!

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

[](#documentation)

> **Important: If you install version 3.x, please see [this readme](https://github.com/toir427/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://toir427.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

```
composer require toir427/yii2-admin "@dev"

```

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/toir427/yii2-admin/releases), then extract it to your project. In your application config, add the path alias for this extension.

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

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19358691?v=4)[Toir Tuychiev](/maintainers/toir427)[@toir427](https://github.com/toir427)

---

Top Contributors

[![toir427](https://avatars.githubusercontent.com/u/19358691?v=4)](https://github.com/toir427 "toir427 (11 commits)")

---

Tags

rbacyii2yii2-extension

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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