PHPackages                             imper86/php-http-cache-plugin - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. imper86/php-http-cache-plugin

ActiveLibrary[HTTP &amp; Networking](/categories/http)

imper86/php-http-cache-plugin
=============================

PSR-6 Cache plugin for HTTPlug

2.0.0(5y ago)063.4k↓31.1%3MITPHPPHP &gt;=7.4

Since May 4Pushed 5y agoCompare

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

READMEChangelogDependencies (8)Versions (11)Used By (3)

Cache Plugin
============

[](#cache-plugin)

[![Latest Version](https://camo.githubusercontent.com/b87f7cf66d139b40a2f6d581b1834e88b742b8e19b861fc89fda1fa270808236/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d687474702f63616368652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-http/cache-plugin/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/691143e9bef037c4630407b582cb92c189c9d8ee5fe7f229650ae1f113516a75/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d687474702f63616368652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/php-http/cache-plugin)[![Code Coverage](https://camo.githubusercontent.com/50fed411c4cecc3df02e26cf08c88d737fbb17b9fb3b936c6622d49e4cd8cb40/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7068702d687474702f63616368652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/cache-plugin)[![Quality Score](https://camo.githubusercontent.com/ad12876ed6c7381147a5e2bf1367258f46b93056e512d0aa99e11bdef9a42e99/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068702d687474702f63616368652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/cache-plugin)[![Total Downloads](https://camo.githubusercontent.com/f6d0b5b32d8c7e94b679691558a815b737a40c065cf3fe85f3144474a30df323/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d687474702f63616368652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-http/cache-plugin)

**PSR-6 Cache plugin for HTTPlug.**

Install
-------

[](#install)

Via Composer

```
$ composer require php-http/cache-plugin
```

Documentation
-------------

[](#documentation)

Please see the [official documentation](http://docs.php-http.org/en/latest/plugins/cache.html).

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).

Security
--------

[](#security)

If you discover any security related issues, please contact us at .

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~203 days

Recently: every ~314 days

Total

10

Last Release

1835d ago

Major Versions

1.6.2 → 2.0.02021-05-10

PHP version history (4 changes)v1.0.0PHP &gt;=5.4

v1.2.0PHP ^5.4 || ^7.0

1.6.1PHP ^7.1

2.0.0PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (21 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (14 commits)")[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (9 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (5 commits)")[![imper86](https://avatars.githubusercontent.com/u/16724155?v=4)](https://github.com/imper86 "imper86 (3 commits)")[![acrobat](https://avatars.githubusercontent.com/u/1374857?v=4)](https://github.com/acrobat "acrobat (2 commits)")[![tuupola](https://avatars.githubusercontent.com/u/21913?v=4)](https://github.com/tuupola "tuupola (2 commits)")[![GeLoLabs](https://avatars.githubusercontent.com/u/149005863?v=4)](https://github.com/GeLoLabs "GeLoLabs (1 commits)")[![deguif](https://avatars.githubusercontent.com/u/993399?v=4)](https://github.com/deguif "deguif (1 commits)")[![theofidry](https://avatars.githubusercontent.com/u/5175937?v=4)](https://github.com/theofidry "theofidry (1 commits)")[![iainconnor](https://avatars.githubusercontent.com/u/4603014?v=4)](https://github.com/iainconnor "iainconnor (1 commits)")

---

Tags

httpplugincachehttplug

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/imper86-php-http-cache-plugin/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25024.2M71](/packages/php-http-cache-plugin)[php-http/client-common

Common HTTP Client implementations and tools for HTTPlug

1.1k225.5M571](/packages/php-http-client-common)[friendsofsymfony/http-cache

Tools to manage HTTP caching proxies with PHP

36114.7M36](/packages/friendsofsymfony-http-cache)[php-http/logger-plugin

PSR-3 Logger plugin for HTTPlug

29025.3M69](/packages/php-http-logger-plugin)[php-http/stopwatch-plugin

Symfony Stopwatch plugin for HTTPlug

26721.1M3](/packages/php-http-stopwatch-plugin)[php-http/httplug-bundle

Symfony integration for HTTPlug

38921.0M54](/packages/php-http-httplug-bundle)

PHPackages © 2026

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