PHPackages                             rsiripong/yii2-rbac - 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. rsiripong/yii2-rbac

ActiveYii2-extension

rsiripong/yii2-rbac
===================

RBAC management module for Yii2

018PHP

Since Nov 24Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Yii2-rbac [![Total Downloads](https://camo.githubusercontent.com/bdf4cb67806bb1a55527ac4bd391603686ec3e0ae510d1afd09004b7251bf51b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64656b747269756d2f796969322d726261632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dektrium/yii2-rbac) [![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)
===========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#yii2-rbac--)

Yii2-rbac provides a way to manage your application's RBAC structure and includes following features:

- Allows CRUD operations for auth items (roles and permissions) and rules.
- Allows to assign multiple roles or permissions to user (using bundled widget).
- Allows to create console migration for creating/updating RBAC items.
- Integrated with [Yii2-user](https://github.com/dektrium/yii2-user) - flexible user management module

> **NOTE:** Module is in initial development. Anything may change at any time.

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

[](#documentation)

[Read the Documentation for master](docs/README.md)

[Read the Documentation for v1.0.0-alpha](https://github.com/dektrium/yii2-rbac/blob/1.0.0-alpha/docs/README.md)

Support
-------

[](#support)

If you have any questions or problems with Yii2-rbac you can ask them on [our forum](http://dektrium.com).

Contributing to this project
----------------------------

[](#contributing-to-this-project)

Anyone and everyone is welcome to contribute. Please take a moment to review the [guidelines for contributing](.github/CONTRIBUTING.md).

License
-------

[](#license)

Yii2-rbac is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md) for details.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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://www.gravatar.com/avatar/490f89f05b11c4c75f2c51e6b919051f4c8646e4bac284bf17845bfcbf3099f5?d=identicon)[rsiripong](/maintainers/rsiripong)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rsiripong-yii2-rbac/health.svg)

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

PHPackages © 2026

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