/CsaGuzzleBundle

A bundle integrating Guzzle >=4.0 in Symfony

Primary LanguagePHP

CsaGuzzleBundle

Gitter

Latest Stable Version Latest Unstable Version Build Status SensioLabsInsight

Installation

Add the required package using composer.

composer require csa/guzzle-bundle:@stable

Add the bundle to your AppKernel.

<?php
// in %kernel.root_dir%/AppKernel.php
$bundles[] = new Csa\Bundle\GuzzleBundle\CsaGuzzleBundle();

To enable the data collector (only in the dev environment, you may simply configure the CsaGuzzleBundle as follows:

csa_guzzle:
    profiler: %kernel.debug%

You may also enable the included logger, in order log outcoming requests:

csa_guzzle:
    logger: true

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.

Documentation

License

This library is under the MIT license. For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Built with Grunt