PHPackages                             johnshopkins/cache-exchange - 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. johnshopkins/cache-exchange

ActiveLibrary[Caching](/categories/caching)

johnshopkins/cache-exchange
===========================

A collection of adapters to make swapping out cache library dependencies quick and easy.

v2.3.0(1w ago)017.5k↓89.3%MITPHPPHP &gt;=8.0

Since Feb 1Pushed 1w ago2 watchersCompare

[ Source](https://github.com/johnshopkins/cache-exchange)[ Packagist](https://packagist.org/packages/johnshopkins/cache-exchange)[ Docs](http://github.com/johnshopkins/cache-exchange)[ RSS](/packages/johnshopkins-cache-exchange/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (6)Versions (17)Used By (0)

CacheExchange
=============

[](#cacheexchange)

A collection of PHP interfaces and adapters to make swapping out cache library dependencies quick and easy.

Requirements
------------

[](#requirements)

- **For Memcached adapter**: [PHP Memcached extension](https://www.php.net/manual/en/memcached.setup.php)
- **For Redis adapter**: [Redis](https://redis.io/) and [Predis](https://github.com/predis/predis)

Running tests
-------------

[](#running-tests)

1. Start the Docker container. ```
    composer run up
    ```
2. Run tests. ```
    composer run test
    ```
3. When you are done testing, stop the container. ```
    composer run down
    ```

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance98

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~349 days

Recently: every ~160 days

Total

15

Last Release

9d ago

Major Versions

v0.3.2 → v1.02014-07-02

v1.1.1 → v2.0.02024-09-18

PHP version history (2 changes)v0.1PHP &gt;=5.3.2

v2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/11e1b915549459b87bab747538857fb810a047407ad1a0eeee929e23908d5490?d=identicon)[jenwachter](/maintainers/jenwachter)

![](https://www.gravatar.com/avatar/41cd9e63ba89b3c2eb72077856593d8fb2bd2579d74876bdcbb15bdec4dd2a1d?d=identicon)[ericconrad](/maintainers/ericconrad)

---

Top Contributors

[![jenwachter](https://avatars.githubusercontent.com/u/1202305?v=4)](https://github.com/jenwachter "jenwachter (47 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/johnshopkins-cache-exchange/health.svg)

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

33136.2k](/packages/beryllium-cachebundle)

PHPackages © 2026

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