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(1mo ago)017.5k↓89.2%MITPHPPHP &gt;=8.0

Since Feb 1Pushed 1mo 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 2w ago

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

53

—

FairBetter than 96% of packages

Maintenance89

Actively maintained with recent releases

Popularity23

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

54d 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

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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