This is a takeover drop-in fork of https://github.com/csarrazi/CsaGuzzleBundle which seems to be abandoned.
We left the namespace as Csa
to assure drop-in replacement.
This bundle integrates Guzzle >=4.0 in Symfony.
Versions 2.x
and 3.x
support Guzzle 6 and versions 1.x
support Guzzle 4 and 5.
Version 4.x
support Guzzle 7.
Currently, the bundle supports the following features:
- Integration with Symfony's debug tools (web debug toolbar, profiler, logger, timeline, ...)
- Configuring a Guzzle client simply using configuration
- Multiple middleware / subscribers (logger, profiler, timeline, cache, mock, and more to come)
- Service descriptions to describe your services in json format (only in the 1.3 branch, though)
All the installation instructions are located in the documentation
Although I try to guarantee forward-compatibility of the bundle with previous versions. Here are the upgrade notes between each version.
See Upgrade.md.
As Guzzle 4 and Guzzle 5 are no longer supported by its creator, you should aim to migrate to Guzzle 6.x as soon as
possible. Versions 1.x
of this bundle are no longer supported, and version 2.x
of will be supported until Symfony
2.8 EOL (November 2018).
- Installation
- Creating clients
- Registering new middleware
- Available middleware
- Streaming a guzzle response
- Configuration reference
- Installation
- Creating clients
- Registering new middleware
- Available middleware
- Streaming a guzzle response
- Configuration reference
CsaGuzzleBundle is an open source project. If you'd like to contribute, please read the Contributing Guidelines.
This library is under Apache License 2.0. For the full copyright and license information, please view the LICENSE file that was distributed with this source code.