Download the PHP package gregurco/guzzle-bundle-cache-plugin without Composer
On this page you can find all versions of the php package gregurco/guzzle-bundle-cache-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gregurco/guzzle-bundle-cache-plugin
More information about gregurco/guzzle-bundle-cache-plugin
Files in gregurco/guzzle-bundle-cache-plugin
Package guzzle-bundle-cache-plugin
Short Description Cache Plugin for Guzzle Bundle, a PHP HTTP client library and framework for building RESTful web service clients
License MIT
Homepage https://github.com/gregurco/GuzzleBundleCachePlugin
Informations about the package guzzle-bundle-cache-plugin
Guzzle Bundle Cache Plugin
This plugin integrates cache functionality into Guzzle Bundle, a bundle for building RESTful web service clients.
Requirements
- PHP 7.2 or above
- Guzzle Bundle
- Guzzle Cache middleware
Installation
Using composer:
composer.json
command line
Usage
Enable bundle
Symfony 2.x and 3.x
Plugin will be activated/connected through bundle constructor in app/AppKernel.php
, like this:
Symfony 4
The registration of bundles was changed in Symfony 4 and now you have to change src/Kernel.php
to achieve the same functionality.
Find next lines:
and replace them by:
Basic configuration
Configuration with specific cache strategy
More information about cache strategies can be found here: Kevinrob/guzzle-cache-middleware
Invalidate cache
License
This middleware is licensed under the MIT License - see the LICENSE file for details
All versions of guzzle-bundle-cache-plugin with dependencies
guzzlehttp/guzzle Version ^6.5.8|^7.4.5
eightpoints/guzzle-bundle Version ~8.0
symfony/http-kernel Version ~5.0|~6.0|~7.0
symfony/config Version ~5.0|~6.0|~7.0
symfony/dependency-injection Version ~5.0|~6.0|~7.0
symfony/expression-language Version ~5.0|~6.0|~7.0
kevinrob/guzzle-cache-middleware Version ~4.0|~5.0