PHPackages                             lmc/aerospike-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. lmc/aerospike-cache

ActiveLibrary[Caching](/categories/caching)

lmc/aerospike-cache
===================

Aerospike PHP cache adapter for Symfony/Cache (PSR-6 and PSR-16) and Doctrine/Cache

0.1.0(4y ago)016.5k5[1 issues](https://github.com/lmc-eu/aerospike-cache-php/issues)MITPHPPHP ^7.1CI failing

Since Feb 10Pushed 4y ago6 watchersCompare

[ Source](https://github.com/lmc-eu/aerospike-cache-php)[ Packagist](https://packagist.org/packages/lmc/aerospike-cache)[ RSS](/packages/lmc-aerospike-cache/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (7)Versions (5)Used By (0)

Aerospike cache adapters for PHP
================================

[](#aerospike-cache-adapters-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/55334c1481b97d8769146fa8c664e397d2125f8dc14bae904245067ca9cf6de8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6d632f6165726f7370696b652d63616368652d7068702e737667)](https://packagist.org/packages/lmc/aerospike-cache)[![Build Status](https://camo.githubusercontent.com/458c6e26602a5ac6262b9573754e68e967057606545cef009a69b380cc2b5663/68747470733a2f2f7472617669732d63692e636f6d2f6c6d632d65752f6165726f7370696b652d63616368652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/lmc-eu/aerospike-cache-php)[![Coverage Status](https://camo.githubusercontent.com/40af49fbd846b231e8d61ef7812055cf84b0316a767a306d202786136527f2dd/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c6d632d65752f6165726f7370696b652d63616368652d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/lmc-eu/aerospike-cache-php?branch=master)

This component provides a PSR-6 implementation of Aerospike for adding cache to your applications.

Installation
------------

[](#installation)

```
composer require lmc/aerospike-cache
```

Usage
-----

[](#usage)

```
$aerospike = new \Aerospike(['hosts' => [['addr' => '127.0.0.1', 'port' => 3000]]]);
$aerospikeCache = new AerospikeCache($aerospike, 'aerospkeNamespace');
```

AerospikeCache uses PSR-6 caching interface for manipulation with the data.
The AerospikeCache also comes bundled with Symfony Cache adapter for DoctrineCache

Creating a new Aerospike instance will immediately connect to the aerospike server, which might take a while and it should be in `lazy` abstraction.

Changelog
---------

[](#changelog)

For latest changes see [CHANGELOG.md](CHANGELOG.md) file. We follow [Semantic Versioning](https://semver.org/).

Contributing and development
----------------------------

[](#contributing-and-development)

### Install dependencies

[](#install-dependencies)

```
composer install
```

### Run tests

[](#run-tests)

For each pull-request, unit tests as well as static analysis and codestyle checks must pass.

To run all those checks execute:

```
composer all
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~234 days

Total

3

Last Release

1817d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3e1e022cb274083d701b31cb634779f7f4a4e6464fa56a3d0b55f7f4a2487b9?d=identicon)[OndraM](/maintainers/OndraM)

---

Top Contributors

[![OndraM](https://avatars.githubusercontent.com/u/793041?v=4)](https://github.com/OndraM "OndraM (16 commits)")[![czhDavid](https://avatars.githubusercontent.com/u/6987379?v=4)](https://github.com/czhDavid "czhDavid (7 commits)")

---

Tags

psrcachecachingpsr-16psr6psr-6psr16aerospike

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lmc-aerospike-cache/health.svg)

```
[![Health](https://phpackages.com/badges/lmc-aerospike-cache/health.svg)](https://phpackages.com/packages/lmc-aerospike-cache)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[apix/simple-cache

The PSR-16 extension to Apix-Cache.

1017.4k](/packages/apix-simple-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
