graham-campbell / cache-plugin
Provides A Simple HTTP Cache Plugin With Good Defaults
Installs: 166 003
Dependents: 3
Suggesters: 0
Security: 0
Stars: 14
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.0
- php-http/cache-plugin: ^1.6
- php-http/client-common: ^1.9|^2.0
- php-http/message-factory: ^1.0
- psr/cache: ^1.0
Requires (Dev)
- graham-campbell/analyzer: ^2.1
- phpunit/phpunit: ^6.5|^7.0
This package is auto-updated.
Last update: 2019-12-02 13:40:58 UTC
README
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 releases, security policy, license, code of conduct, and contribution guidelines.
Installation
Cache Plugin requires PHP 7. To get the latest version, simply require the project using Composer:
$ composer require graham-campbell/cache-plugin
Usage
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.
Security
If you discover a security vulnerability within this package, please send an email to Graham Campbell at graham@alt-three.com. All security vulnerabilities will be promptly addressed. You may view our full security policy here.
License
Cache Plugin is licensed under The MIT License (MIT).