redcode / aerospike-cache-provider
Adds aerospike provider to use it through the doctrine/cache
0.1.0
2015-10-22 16:45 UTC
Requires
- php: ^5.4
- doctrine/cache: ^1.4
Requires (Dev)
- contorion/aerospike-stub: ^1.0
- fabpot/php-cs-fixer: ^1.10
- phpunit/phpunit: ^4.8
This package is not auto-updated.
Last update: 2024-12-21 19:52:56 UTC
README
This is an implementation of Doctrine\Common\Cache\CacheProvider for Aerospike.
It allows you to use aerospike connection in projects which are based on the doctrine/cache
Installation
The easiest way to install this library is with Composer using the following command:
$ composer require redcode/aerospike-cache-provider
How does it work?
// pre-configured Aerospike connection $aerospike = new \Aerospike(); $cache = new AerospikeCache($aerospike); $cache->save('test', 'value', 60); $value = $cache->fetch('test');