bestyii / yii2-psr16cache
PSR-16 Cache for Yii2
Installs: 112
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.0
- psr/simple-cache: ^1.0
- yiisoft/yii2: ^2.0.0
README
This package provides simple mechanism base PSR-16 Simple Cache for Yii2.
Installation
To install, use composer:
composer require bestyii/yii2-psr16cache
Testing
$ ./vendor/bin/phpunit
Usage
Define it as a component in your plugin
'components' => [ 'psr16cache' => [ 'class' => bestyii\psr16cache\SimpleCacheAdapter::class ] ]
Credits
License
The BSD 3-Clause License. Please see License File for more information.