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

Abandoned → [fig/cache-util](/?search=fig%2Fcache-util)Library[Caching](/categories/caching)

psr/cache-util
==============

Useful utility classes and traits for implementing the PSR cache standard

2.0.0(5y ago)365.6k12[1 issues](https://github.com/php-fig/cache-util/issues)1MITPHPPHP &gt;=8.0.0

Since Feb 8Pushed 2y ago14 watchersCompare

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

READMEChangelogDependencies (3)Versions (4)Used By (1)

PSR-6 Cache Utilities
=====================

[](#psr-6-cache-utilities)

[![Quality Assurance](https://github.com/php-fig/cache-util/workflows/Quality%20Assurance/badge.svg)](https://github.com/php-fig/cache-util/workflows/Quality%20Assurance/badge.svg)

This package contains a series of traits and base classes to cover the common, boilerplate portions of implementing a PSR-6-compliant cache library.

This package also provides a basic in-memory-only PSR-6 implementation. While not useful for actual use, it serves as a demo-implementation as well as a debugging tool.

This package does not, and will not, provide a complete production-ready PSR-6 implementation. If you are looking for a PSR-6 implementation, consult your friendly local Packagist.org server.

License
-------

[](#license)

This package is released under the MIT license. See LICENSE for details.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 74% 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 ~8 days

Total

3

Last Release

1909d ago

PHP version history (2 changes)2.0.0PHP &gt;=8.0.0

1.0.0PHP &gt;=5.4.0

### Community

Maintainers

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

---

Top Contributors

[![Crell](https://avatars.githubusercontent.com/u/254863?v=4)](https://github.com/Crell "Crell (37 commits)")[![SantyagoSeaman](https://avatars.githubusercontent.com/u/3143242?v=4)](https://github.com/SantyagoSeaman "SantyagoSeaman (3 commits)")[![michaelcullum](https://avatars.githubusercontent.com/u/211740?v=4)](https://github.com/michaelcullum "michaelcullum (3 commits)")[![kynx](https://avatars.githubusercontent.com/u/1320145?v=4)](https://github.com/kynx "kynx (2 commits)")[![bshaffer](https://avatars.githubusercontent.com/u/103941?v=4)](https://github.com/bshaffer "bshaffer (1 commits)")[![namenu](https://avatars.githubusercontent.com/u/243097?v=4)](https://github.com/namenu "namenu (1 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (1 commits)")[![ralflang](https://avatars.githubusercontent.com/u/646976?v=4)](https://github.com/ralflang "ralflang (1 commits)")[![ffleigeGRZ](https://avatars.githubusercontent.com/u/22975563?v=4)](https://github.com/ffleigeGRZ "ffleigeGRZ (1 commits)")

---

Tags

psrcachepsr-6

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[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/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)
