PHP Package: kevinrob/guzzle-cache-middleware
Efficient PHP library for caching HTTP requests with Guzzle middleware
Package Description
The guzzle-cache-middleware is a powerful PHP library designed for caching HTTP requests by integrating seamlessly with Guzzle middleware. With this library, developers can enhance the performance of their applications by reducing the number of redundant requests made to external APIs, resulting in faster response times and improved user experience. By leveraging the built-in caching mechanisms and flexible configuration options, developers can easily implement caching strategies that suit their specific requirements.
Download Latest Version: 7.0.0

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/kevinrob/guzzle-cache-middleware/7.0.0/loader.php';
require_once 'libs/guzzle/guzzle/7.10.0/loader.php';
use Kevinrob\GuzzleCache\CacheMiddleware;
use GuzzleHttp\Client;
use Psr\Log\NullLogger;
$obj = new CacheMiddleware();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.