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

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

humanized/yii2-rbac
===================

Module containing additional RBAC management interfaces

042PHP

Since Feb 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Humanized/yii2-rbac)[ Packagist](https://packagist.org/packages/humanized/yii2-rbac)[ RSS](/packages/humanized-yii2-rbac/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2-RBAC - README
==================

[](#yii2-rbac---readme)

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

Provides various interfaces to deal with routine RBAC tasks.

> This extension is under heavy development and requires the use of Yii framework version 2.0.7 This version of the framework is currently in-active development

> This module should be considered highly unstable and it's use is discouraged until further notice (really)

Features
--------

[](#features)

This module aims to be a clean, modular and simple RBAC-administration module that can be used for Yii 2 projects version 2.0.7 and up.

A first goal is to provide a complete CLI wrapper to the default Yii2 RBAC interface. For this, the interface is kept as close to the programmatic interface as possible.

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

[](#installation)

### Install Using Composer

[](#install-using-composer)

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

Either run

```
$ php composer.phar require humanized/yii2-rbac "dev-master"

```

or add

```
"humanized/yii2-rbac": "dev-master"

```

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

### Add Module to Configuration

[](#add-module-to-configuration)

Add following lines to the configuration file:

```
'modules' => [
    'rbac' => [
        'class' => 'humanized\rbac\Module',
    ],
],
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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/1a07fca5b8f6fe268961a6744dbfd2175da8c785f5e26b2edaeb552f9bbcabd2?d=identicon)[jeffrey.geyssens](/maintainers/jeffrey.geyssens)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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