PHPackages                             mwsys/yii2-mwrbac - 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. mwsys/yii2-mwrbac

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

mwsys/yii2-mwrbac
=================

Yii2 RBAC Extension

v0.0.4(5y ago)0102MITPHP

Since Feb 3Pushed 5y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Yii2 RBAC Extension
===================

[](#yii2-rbac-extension)

Yii2 RBAC Extension

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist mwsys/yii2-mwrbac "*"

```

or add

```
"mwsys/yii2-mwrbac": "*"

```

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

Usage
-----

[](#usage)

Up to this moment, this extension only provide actionfilter to handle regex-based access rights

Add parameter to the parameters, this config indicate that filter will add route otomatically as auth item.

'add\_auth\_item' =&gt; true,

Add behavior in configuration.

.... 'as checkuser' =&gt; \[ 'class' =&gt; 'mwsys\\mwrbac\\components\\MwAccessControl', 'allowActions' =&gt; \[ 'site/\*', \],

...

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~439 days

Total

4

Last Release

2065d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

rbacyii2extensionmwsys

### Embed Badge

![Health badge](/badges/mwsys-yii2-mwrbac/health.svg)

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

###  Alternatives

[budyaga/yii2-users

Module for manage users and their rights with the support of registration through social services and assigned to each user more than one social service.

409.1k](/packages/budyaga-yii2-users)

PHPackages © 2026

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