redcode/aerospike-cache-provider

Adds aerospike provider to use it through the doctrine/cache

Maintainers

Package info

github.com/maZahaca/aerospike-cache-provider

pkg:composer/redcode/aerospike-cache-provider

Statistics

Installs: 491

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

0.1.0 2015-10-22 16:45 UTC

This package is not auto-updated.

Last update: 2026-03-01 01:46:26 UTC


README

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

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