php-extended / php-scorekeeper-simple-cache
This package is abandoned and no longer maintained.
The author suggests using the php-extended/php-scorekeeper-object package instead.
A scorekeeper decorator that forwards the calls to a simple cache calls.
3.1.18
2021-07-04 15:41 UTC
Requires
Requires (Dev)
README
A scorekeeper decorator that forwards the calls to a simple cache calls.
Installation
The installation of this library is made via composer.
Download composer.phar
from their website.
Then add to your composer.json :
"require": {
...
"php-extended/php-scorekeeper-simple-cache": "^3"
...
}
Then run php composer.phar update
to install this library.
The autoloading of all classes of this library is made through composer's autoloader.
Basic Usage
This library may be used the following way as a decorator :
use PhpExtended\Scorekeeper\ScorekeeperSimpleCache;
/* @var $cache \Psr\SimpleCache\CacheInterface */
$scorekeeper = new ScorekeeperSimpleCache($cache);
License
MIT (See license file).