freshcells / guzzle-bundle
A bundle integrating GuzzleHttp >= 6.0
Installs: 7 406
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 76
Type:symfony-bundle
Requires
- php: ^7.4 || ^8.0
- freshcells/guzzle-cache-middleware: ^2
- freshcells/guzzle-history-middleware: ^2
- freshcells/guzzle-stopwatch-middleware: ^2
- guzzlehttp/guzzle: ^6.1 || ^7.0
- symfony/dependency-injection: ^4.0 || ^5.0
- symfony/error-handler: ^4.0 || ^5.0
- symfony/event-dispatcher: ^4.0 || ^5.0
- symfony/filesystem: ^4.0 || ^5.0
- symfony/finder: ^4.0 || ^5.0
- symfony/framework-bundle: ^4.0 || ^5.0
- symfony/http-foundation: ^4.0 || ^5.0
- symfony/routing: ^4.0 || ^5.0
- twig/twig: ^2.10 || ^3.0
Requires (Dev)
- namshi/cuzzle: ^2.0
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: ^3.7
- symfony/phpunit-bridge: ^4.0 || ^5.0
- symfony/twig-bundle: ^4.0 || ^5.0
- symfony/web-profiler-bundle: ^4.0 || ^5.0
- symfony/yaml: ^4.0 || ^5.0
Suggests
- doctrine/cache: Allows caching of responses
- namshi/cuzzle: Output command to repeat request in command line
- psr/cache: Allows caching of responses
- tolerance/tolerance: Allows retrying failed requests
- dev-main / 4.0.x-dev
- 4.0.0
- v3.2.0
- v3.1.1
- v3.1.0
- v3.0.1
- v3.0.0
- 2.x-dev
- v2.2.2
- v2.2.1
- v2.2.0
- v2.2.0-alpha1
- 2.1.x-dev
- v2.1.2
- v2.1.1
- v2.1.0
- 2.0.x-dev
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-RC2
- v2.0.0-RC1
- v2.0.0-beta3
- v2.0.0-beta2
- v2.0.0-beta1
- 1.3.x-dev
- v1.3.12
- v1.3.11
- v1.3.10
- v1.3.9
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- 1.2.x-dev
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.2.0-RC2
- v1.2.0-RC1
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-feature/symfony-6
- dev-serializer
This package is auto-updated.
Last update: 2024-11-29 06:23:23 UTC
README
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.
Description
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)
Installation
All the installation instructions are located in the documentation
Upgrade
Although I try to guarantee forward-compatibility of the bundle with previous versions. Here are the upgrade notes between each version.
See Upgrade.md.
Support
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).
Documentation
Documentation for stable (3.x)
- Installation
- Creating clients
- Registering new middleware
- Available middleware
- Streaming a guzzle response
- Configuration reference
Documentation for legacy (2.x)
- Installation
- Creating clients
- Registering new middleware
- Available middleware
- Streaming a guzzle response
- Configuration reference
Contributing
CsaGuzzleBundle is an open source project. If you'd like to contribute, please read the Contributing Guidelines.
License
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.