PHPackages                             bethrezen/yii2-cached-rbac-dbmanager - 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. bethrezen/yii2-cached-rbac-dbmanager

ActiveYii2-extension

bethrezen/yii2-cached-rbac-dbmanager
====================================

Allows caching of permissions in yii\\rbac\\DbManager

916.2k↓100%5[1 issues](https://github.com/bethrezen/yii2-cached-rbac-dbmanager/issues)PHP

Since Feb 16Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Cached DBManager for yii2 RBAC
==============================

[](#cached-dbmanager-for-yii2-rbac)

Allows caching of permissions in yii\\rbac\\DbManager

**WARNING** Yii2 now supports native cache for yii\\rbac\\DbManager. See [yiisoft/yii2#3168](https://github.com/yiisoft/yii2/issues/3168)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist bethrezen/yii2-cached-rbac-dbmanager "*"

```

or add

```
"bethrezen/yii2-cached-rbac-dbmanager": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply configure your application to use `\bethrezen\CachedDbManager`:

```

'components' => [
    // the rest of your components section
    'authManager' => [
            'class'=>'\bethrezen\CachedDbManager',
        ],
]

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community10

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/19c9303caa5846f2500a35018dcbd3c7f07c74e30efc1bbf7878d54157ab9c4f?d=identicon)[bethrezen](/maintainers/bethrezen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bethrezen-yii2-cached-rbac-dbmanager/health.svg)

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

PHPackages © 2026

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