tonis-io / response-cache
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 107
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
pkg:composer/tonis-io/response-cache
Requires
- php: >=5.5
- doctrine/cache: ^1.0
Requires (Dev)
- phpunit/phpunit: ^4.0
- squizlabs/php_codesniffer: ^2.0
This package is not auto-updated.
Last update: 2023-03-18 10:03:10 UTC
README
Tonis\ResponseCache
Tonis\ResponseCache is simple middleware caches requests based on path/method and return static cache if a hit is found.
Composer
composer require tonis-io/response-cache
Usage
// create an instance and give it your psr-3 logger $responseCache = new \Tonis\ResponseCache; // add $responseCache to your middleware queue