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

ActiveLibrary[Caching](/categories/caching)

foodkit/cache
=============

Library of all the php-cache adapters

2.2(3y ago)0135MITPHPPHP ^7.4|^8

Since Feb 5Pushed 3y agoCompare

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

READMEChangelog (3)Dependencies (13)Versions (9)Used By (0)

Notice! ⚠️
==========

[](#notice-️)

This is a forked and repackaged version of the [PHP Cache](https://github.com/php-cache/cache) package, to enable support for PHP 8.1 and to serve as an internal dependency for Foodkit applications.

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

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 51.6% 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 ~330 days

Recently: every ~474 days

Total

8

Last Release

1440d ago

Major Versions

0.4.0 → 1.0.02017-07-17

1.0.0 → 2.0.x-dev2019-06-21

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

0.4.0PHP ^5.6 || ^7.0

2.1PHP ^7.4|^8

### Community

Maintainers

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

---

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)")[![ambengers](https://avatars.githubusercontent.com/u/17848299?v=4)](https://github.com/ambengers "ambengers (6 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)")[![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)")[![GodsBoss](https://avatars.githubusercontent.com/u/206149?v=4)](https://github.com/GodsBoss "GodsBoss (2 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)")[![wheelsandcogs](https://avatars.githubusercontent.com/u/1880478?v=4)](https://github.com/wheelsandcogs "wheelsandcogs (1 commits)")

---

Tags

cachepsr6

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/cache

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

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

Library of all the php-cache adapters

2712.7M22](/packages/cache-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)

PHPackages © 2026

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