Provides A Simple HTTP Cache Plugin With Good Defaults

v1.1.0 2019-01-27 13:36 UTC


Cache Plugin is maintained by Graham Campbell, and is strongly based on the Cache Plugin by the PHP HTTP Team. This package was created because the original implemenation needed tweaking for my GitHub package, and now I need to share the code with my new GitLab package, thus I have extracted this single class here. Feel free to check out the change log, releases, license, and contribution guidelines.

StyleCI Status Build Status Coverage Status Quality Score Software License Latest Version


Cache Plugin requires PHP 7. To get the latest version, simply require the project using Composer:

$ composer require graham-campbell/cache-plugin


There is no usage documentation for this package as of yet. I would encurage you to simply flick through the source code, as there is only one file. This package is also used by my Laravel GitHub and Laravel GitLab.


If you discover a security vulnerability within this package, please send an e-mail to Graham Campbell at All security vulnerabilities will be promptly addressed.


Cache Factory is licensed under The MIT License (MIT).