PHPackages                             cottacush/yii2-permissions-ext - 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. cottacush/yii2-permissions-ext

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

cottacush/yii2-permissions-ext
==============================

Custom Role Based Access Control Implementation

v3.1.0(2y ago)22.6kMITPHP &gt;=8.0

Since Sep 14Compare

[ Source](https://github.com/CottaCush/yii2-permissions-ext)[ Packagist](https://packagist.org/packages/cottacush/yii2-permissions-ext)[ RSS](/packages/cottacush-yii2-permissions-ext/feed)WikiDiscussions Synced today

READMEChangelog (9)Dependencies (2)Versions (14)Used By (0)

CottaCush RBAC
==============

[](#cottacush-rbac)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6504091f97c4c0fbc0b69787c910728a1fe69f6280350b6197837cbd818a9f92/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f747461637573682f796969322d7065726d697373696f6e732d6578742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cottacush/yii2-permissions-ext)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/eac3e33749b2e76b315a062099dfe70c311ea604eacf684bc3a60f063c174c75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f747461637573682f796969322d7065726d697373696f6e732d6578742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cottacush/yii2-permissions-ext)

Custom Permission Based Access Control Yii2 Extension

Install
-------

[](#install)

Via Composer

```
$ composer require cottacush/yii2-permissions-ext
$ ./yii migrate/up --migrationPath=@vendor/cottacush/yii2-permissions-ext/migrations
```

Usage
-----

[](#usage)

Add implementation of ManagerInterface to components

```
    //App Config
    'components'    =>
    [
    //...
        'permissionManager' => [
            'class' => '\cottacush\rbac\DbPermissionManager'
        ],
    //...
    ]
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- Adegoke Obasa
- Olawale Lawal
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity75

Established project with proven stability

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 ~551 days

Total

5

Last Release

1007d ago

Major Versions

1.x-dev → v2.0.22019-09-24

v2.0.2 → 3.0.02021-02-19

PHP version history (4 changes)1.0.1PHP ~5.5

v2.0.2PHP ~5.5|~7.0

3.0.0PHP ~8.0

v3.1.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18262744?v=4)[Cotta &amp; Cush Limited](/maintainers/cottacush)[@CottaCush](https://github.com/CottaCush)

---

Tags

accesspermissionyii2extensioncontrolrole

### Embed Badge

![Health badge](/badges/cottacush-yii2-permissions-ext/health.svg)

```
[![Health](https://phpackages.com/badges/cottacush-yii2-permissions-ext/health.svg)](https://phpackages.com/packages/cottacush-yii2-permissions-ext)
```

###  Alternatives

[kakadu-dev/yii2-jwt-auth

Extension provide JWT auth for Yii2

105.8k](/packages/kakadu-dev-yii2-jwt-auth)

PHPackages © 2026

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