Adds aerospike provider to use it through the doctrine/cache

0.1.0 2015-10-22 16:45 UTC

This package is not auto-updated.

Last update: 2020-06-26 19:06:00 UTC


Build Status

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


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');