2017 © Pedro Peláez
 

yii2-extension yii2-cached-rbac-dbmanager

Allows caching of permissions in yii\rbac\DbManager

image

bethrezen/yii2-cached-rbac-dbmanager

Allows caching of permissions in yii\rbac\DbManager

  • Monday, February 16, 2015
  • by bethrezen
  • Repository
  • 1 Watchers
  • 6 Stars
  • 2,037 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 19 % Grown

The README.md

Cached DBManager for yii2 RBAC

Allows caching of permissions in yii\rbac\DbManager, (*1)

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

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

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

or add, (*5)

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

to the require section of your composer.json file., (*6)

Usage

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


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

The Versions

16/02 2015

dev-master

9999999-dev

Allows caching of permissions in yii\rbac\DbManager

  Sources   Download

GPL-3.0+

cache yii2 rbac dbmanager