bethrezen/yii2-cached-rbac-dbmanager Allows caching of permissions in yii\rbac\DbManager

rbaccachedbmanager

Cached DBManager for yii2 RBAC

Allows caching of permissions in yii\rbac\DbManager

WARNING Yii2 now supports native cache for yii\rbac\DbManager. See https://github.com/yiisoft/yii2/issues/3168

Installation

The preferred way to install this extension is through composer.

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

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


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

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



GPL-3.0+ license
Stats
9 github stars & 5 github forks
5 downloads in the last day
119 downloads in the last 30 days
12467 total downloads