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

ActiveLibrary[Caching](/categories/caching)

spiral/cache
============

Common Cache Interfaces

3.16.1(2mo ago)025.5k↓34.8%6MITPHPPHP &gt;=8.1CI failing

Since Feb 3Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/spiral/cache)[ Packagist](https://packagist.org/packages/spiral/cache)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (58)Used By (6)

Spiral: Common Cache Interfaces
===============================

[](#spiral-common-cache-interfaces)

[![PHP Version Require](https://camo.githubusercontent.com/b5e291e40b8fcb7408fcac9d2d366994e261276dcfef0b4354b31605fbd77613/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f63616368652f726571756972652f706870)](https://packagist.org/packages/spiral/cache)[![Latest Stable Version](https://camo.githubusercontent.com/f2e6c77209df0844048ad0fba5596a0f9d15ce397e354e4f3227914775539e51/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f63616368652f762f737461626c65)](https://packagist.org/packages/spiral/cache)[![phpunit](https://github.com/spiral/cache/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/cache/actions)[![psalm](https://github.com/spiral/cache/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/cache/actions)[![Codecov](https://camo.githubusercontent.com/f41d781717e31b96ac15c3fc1465a0efec57c86fffae31c8a8067e8eb52eb789/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f63616368652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/cache/)[![Total Downloads](https://camo.githubusercontent.com/8ecf2887375ddf4724946c55b03fc63ad2e947e3ed4d81680e1d9b21c6943fbb/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f63616368652f646f776e6c6f616473)](https://packagist.org/packages/spiral/cache)[![type-coverage](https://camo.githubusercontent.com/3704f13fbd75f754a241e8e23fca4b49db9cb828bb38685032c8a297b8296f4e/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f63616368652f636f7665726167652e737667)](https://shepherd.dev/github/spiral/cache)[![psalm-level](https://camo.githubusercontent.com/fdc2092453548c7627de657b1e90678147ec18c421cac9d46d5290741001591e/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f63616368652f6c6576656c2e737667)](https://shepherd.dev/github/spiral/cache)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/component-cache)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance83

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 91.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 ~26 days

Recently: every ~82 days

Total

57

Last Release

84d ago

Major Versions

2.14.1 → 3.0.02022-09-13

PHP version history (3 changes)2.9.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (125 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (10 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (2 commits)")

---

Tags

cachepsr-16spiralspiral-framework

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[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/filesystem-adapter

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

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

A PSR-6 cache implementation using a php array. This implementation supports tags

548.3M151](/packages/cache-array-adapter)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[cache/redis-adapter

A PSR-6 cache implementation using Redis (PhpRedis). This implementation supports tags

523.9M27](/packages/cache-redis-adapter)

PHPackages © 2026

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