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

ActiveLibrary[Caching](/categories/caching)

cache/cache
===========

Library of all the php-cache adapters

1.0.0(8y ago)2712.7M↑82%83[20 PRs](https://github.com/php-cache/cache/pulls)20MITPHPPHP ^5.6 || ^7.0CI failing

Since Feb 5Pushed 2y ago13 watchersCompare

[ Source](https://github.com/php-cache/cache)[ Packagist](https://packagist.org/packages/cache/cache)[ Docs](http://www.php-cache.com/en/latest/)[ RSS](/packages/cache-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (12)Versions (6)Used By (20)

PHP Cache
=========

[](#php-cache)

[![Gitter](https://camo.githubusercontent.com/2ded3ed1778dcfc9af5e2dfaad55e176ade49082cb6ea757169cc5ea23bf32ac/68747470733a2f2f6261646765732e6769747465722e696d2f7068702d63616368652f63616368652e737667)](https://gitter.im/php-cache/cache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![codecov.io](https://camo.githubusercontent.com/b50e93044e819d14945e6a3a811b2c9fc6a63ca7affa9288d6ad1214d5c72de9/68747470733a2f2f636f6465636f762e696f2f6769746875622f7068702d63616368652f63616368652f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/php-cache/cache?branch=master)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![StyleCI](https://camo.githubusercontent.com/d6e06ee2c1cb562608e0ff83876f34a5dc6ba6c1b26ff4122769dde73f576a5c/68747470733a2f2f7374796c6563692e696f2f7265706f732f35303738393135332f736869656c64)](https://styleci.io/repos/50789153)

This is the main repository for all our cache adapters and libraries. To read about features like tagging and hierarchy support please read the shared documentation at [www.php-cache.com](http://www.php-cache.com).

Back in 2016, this was the first library supporting PSR-6. We created Symfony bundles and made many great libraries in the PHP-cache organization. This was a few years ago and the library is not activly maintained. Starting a new project one should consider using the more performant and activly supported [Symfony Cache](https://symfony.com/doc/current/components/cache.html).

### Notice

[](#notice)

This library is for development use. All pull requests to the adapters, and libraries included in here, should be made to this library.

If you are lazy, you can also include this project, to include all the adapters and libraries.

### Contribute

[](#contribute)

Contributions are very welcome! Make sure you check out the [contributing docs](CONTRIBUTING.md) and send us a pull request or report any issues you find on the [issue tracker](http://issues.php-cache.com). Feel free to come chat with us on [Gitter](https://gitter.im/php-cache/cache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) too.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity61

Solid adoption and visibility

Community42

Growing community involvement

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 52.2% 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 ~246 days

Recently: every ~288 days

Total

6

Last Release

2523d ago

Major Versions

0.4.0 → 1.0.02017-07-17

1.0.0 → 2.0.x-dev2019-06-21

PHP version history (2 changes)0.1.0PHP ^5.5|^7.0

0.4.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cf67675d97e63f6ff9e7fed55f35502b24cd834081806a6731229117c0630bb?d=identicon)[aequasi](/maintainers/aequasi)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (229 commits)")[![cryptiklemur](https://avatars.githubusercontent.com/u/896295?v=4)](https://github.com/cryptiklemur "cryptiklemur (101 commits)")[![prisis](https://avatars.githubusercontent.com/u/2716058?v=4)](https://github.com/prisis "prisis (57 commits)")[![ndobromirov](https://avatars.githubusercontent.com/u/1191506?v=4)](https://github.com/ndobromirov "ndobromirov (14 commits)")[![magnusnordlander](https://avatars.githubusercontent.com/u/165002?v=4)](https://github.com/magnusnordlander "magnusnordlander (5 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (4 commits)")[![Korbeil](https://avatars.githubusercontent.com/u/944409?v=4)](https://github.com/Korbeil "Korbeil (3 commits)")[![GodsBoss](https://avatars.githubusercontent.com/u/206149?v=4)](https://github.com/GodsBoss "GodsBoss (2 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (2 commits)")[![maidmaid](https://avatars.githubusercontent.com/u/4578773?v=4)](https://github.com/maidmaid "maidmaid (2 commits)")[![lunetics](https://avatars.githubusercontent.com/u/149752?v=4)](https://github.com/lunetics "lunetics (1 commits)")[![marcusirgens](https://avatars.githubusercontent.com/u/8811904?v=4)](https://github.com/marcusirgens "marcusirgens (1 commits)")[![marvinhinz](https://avatars.githubusercontent.com/u/35603466?v=4)](https://github.com/marvinhinz "marvinhinz (1 commits)")[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (1 commits)")[![nikita2206](https://avatars.githubusercontent.com/u/1030688?v=4)](https://github.com/nikita2206 "nikita2206 (1 commits)")[![pascal-hofmann](https://avatars.githubusercontent.com/u/2102878?v=4)](https://github.com/pascal-hofmann "pascal-hofmann (1 commits)")[![ragboyjr](https://avatars.githubusercontent.com/u/1975857?v=4)](https://github.com/ragboyjr "ragboyjr (1 commits)")[![rvanlaak](https://avatars.githubusercontent.com/u/2707563?v=4)](https://github.com/rvanlaak "rvanlaak (1 commits)")[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (1 commits)")[![Alexander1000](https://avatars.githubusercontent.com/u/6797418?v=4)](https://github.com/Alexander1000 "Alexander1000 (1 commits)")

---

Tags

cachepsr6

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k348.9M2.5k](/packages/symfony-cache)[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[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/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)[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)
