aadrian-alexandru/guzzle-bundle

A bundle integrating GuzzleHttp >= 4.0

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 76

Type:symfony-bundle

0.1.0 2023-03-20 11:17 UTC

This package is auto-updated.

Last update: 2024-12-20 17:42:36 UTC


README

Fork notice

This fork is an exact clone of csarrazi's bundle, but is tagged on the newest commit, so it supports PHP 8.0. Please refer to the original repository for all credits, issues and PRs. This repository will not be maintained.

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.

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)

Web debug Toolbar Profiler panel integration Profiler timeline integration

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)

Documentation for legacy (2.x)

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.