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

ActiveLibrary[Caching](/categories/caching)

psr/cache
=========

Common interface for caching libraries

3.0.0(5y ago)5.2k686.9M↓13.1%46[1 issues](https://github.com/php-fig/cache/issues)20MITPHPPHP &gt;=8.0.0

Since Dec 11Pushed 1y ago21 watchersCompare

[ Source](https://github.com/php-fig/cache)[ Packagist](https://packagist.org/packages/psr/cache)[ RSS](/packages/psr-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (20)

Caching Interface
=================

[](#caching-interface)

This repository holds all interfaces related to [PSR-6 (Caching Interface)](https://www.php-fig.org/psr/psr-6/).

Note that this is not a Caching implementation of its own. It is merely interfaces that describe the components of a Caching mechanism.

The installable [package](https://packagist.org/packages/psr/cache) and [implementations](https://packagist.org/providers/psr/cache-implementation) are listed on Packagist.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity84

Widely adopted with strong download metrics

Community55

Growing community involvement

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 61.7% 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 ~627 days

Total

4

Last Release

1930d ago

Major Versions

1.0.1 → 2.0.02021-02-03

2.0.0 → 3.0.02021-02-03

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=8.0.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/12e28c223b88445f07d697c8805bd856066c947f70b535f6a7e00d2cb311c3c2?d=identicon)[Crell](/maintainers/Crell)

![](https://www.gravatar.com/avatar/9025c7b030862eabb8877bfe173b2358db04463e16d50703c6d9287e55fe5804?d=identicon)[dragoonis](/maintainers/dragoonis)

---

Top Contributors

[![Crell](https://avatars.githubusercontent.com/u/254863?v=4)](https://github.com/Crell "Crell (50 commits)")[![michaelcullum](https://avatars.githubusercontent.com/u/211740?v=4)](https://github.com/michaelcullum "michaelcullum (7 commits)")[![Art4](https://avatars.githubusercontent.com/u/2162994?v=4)](https://github.com/Art4 "Art4 (3 commits)")[![gnumoksha](https://avatars.githubusercontent.com/u/696797?v=4)](https://github.com/gnumoksha "gnumoksha (3 commits)")[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (3 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (2 commits)")[![dmitryuk](https://avatars.githubusercontent.com/u/661654?v=4)](https://github.com/dmitryuk "dmitryuk (2 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (2 commits)")[![SgtK](https://avatars.githubusercontent.com/u/1369192?v=4)](https://github.com/SgtK "SgtK (1 commits)")[![deviantintegral](https://avatars.githubusercontent.com/u/255023?v=4)](https://github.com/deviantintegral "deviantintegral (1 commits)")[![J0WI](https://avatars.githubusercontent.com/u/5710638?v=4)](https://github.com/J0WI "J0WI (1 commits)")[![jfcherng](https://avatars.githubusercontent.com/u/6594915?v=4)](https://github.com/jfcherng "jfcherng (1 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1 commits)")[![pgraham](https://avatars.githubusercontent.com/u/483277?v=4)](https://github.com/pgraham "pgraham (1 commits)")[![antonkomarev](https://avatars.githubusercontent.com/u/1849174?v=4)](https://github.com/antonkomarev "antonkomarev (1 commits)")

---

Tags

psrcachepsr-6

### Embed Badge

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

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

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

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

Common classes for PSR-6 adapters

11124.4M38](/packages/cache-adapter-common)[cache/tag-interop

Framework interoperable interfaces for tags

10525.0M12](/packages/cache-tag-interop)[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[cache/hierarchical-cache

A helper trait and interface to your PSR-6 cache to support hierarchical keys.

6016.1M11](/packages/cache-hierarchical-cache)[cache/filesystem-adapter

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

705.8M82](/packages/cache-filesystem-adapter)

PHPackages © 2026

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