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

ActiveLibrary[Caching](/categories/caching)

journey/cache
=============

A simpler string cache interface than PSR-6.

1.1.0(9y ago)04651MITPHP

Since Feb 9Pushed 9y ago2 watchersCompare

[ Source](https://github.com/journeygroup/cache)[ Packagist](https://packagist.org/packages/journey/cache)[ Docs](http://github.com/journeygroup/fermi)[ RSS](/packages/journey-cache/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

Journey Cache
-------------

[](#journey-cache)

[![Build Status](https://camo.githubusercontent.com/fd550cbb5b50062a80e7250bc8eeddbe8d91ba385ccc826bf0658c5e9def2cb0/68747470733a2f2f7472617669732d63692e6f72672f6a6f75726e657967726f75702f63616368652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/journeygroup/cache)[![Code Coverage](https://camo.githubusercontent.com/cf7f11c33dfa8719e87bb569776d78fcf1882d5b2e13368c55b6e57ad8a554f7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f75726e657967726f75702f63616368652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/journeygroup/cache/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f3318f909ac31310f3b130d5fee19c44e598f598a5d66024cf157b464efc6e9a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f75726e657967726f75702f63616368652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/journeygroup/cache/?branch=master)

What
----

[](#what)

Journey cache is a very simple string caching interface. It is a much simpler alternative to the PSR-6 interface, and mostly useful for basic string cache. The interface comes bundled with a local file cache ([LocalAdapter](/src/Adapters/LocalAdapter.php)) and a memcached ([MemcachedAdapter](/src/Adapters/LocalAdapter.php)) implementation.

Interface
---------

[](#interface)

```
interface CacheAdapterInterface
{
    public function set($key, $value, $expiration = 0);
    public function get($key);
    public function delete($key);
    public function clear();
}
```

It's simple enough you can probably guess how to write your own adapters, but if you want more documentation, [read the interface](/src/CacheAdapterInterface.php).

*Note: The PSR-6 interface is fantastic, but sometimes you just don't need to be as verbose or robust as it requires. This fills that gap.*

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

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 ~6 days

Total

7

Last Release

3349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/db85c379f90173f437183b21df031e20997aaac69c7046fd927c2a3b57663d39?d=identicon)[justin-schroeder](/maintainers/justin-schroeder)

---

Top Contributors

[![justin-schroeder](https://avatars.githubusercontent.com/u/1950463?v=4)](https://github.com/justin-schroeder "justin-schroeder (13 commits)")

---

Tags

cachepsr-6cachememcached

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[cache/memcached-adapter

A PSR-6 cache implementation using Memcached. This implementation supports tags

161.9M14](/packages/cache-memcached-adapter)[aplus/cache

Aplus Framework Cache Library

161.6M4](/packages/aplus-cache)[robinn/phpcacheadmin

A web dashboard for your favorite caching system.

4441.1k1](/packages/robinn-phpcacheadmin)

PHPackages © 2026

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