redcode / aerospike-cache-provider
Adds aerospike provider to use it through the doctrine/cache
Installs: 491
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/redcode/aerospike-cache-provider
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: 2025-10-11 23:54:03 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');