PHPackages                             ddeboer/guzzle-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. ddeboer/guzzle-bundle

AbandonedArchivedSymfony-bundle[HTTP &amp; Networking](/categories/http)

ddeboer/guzzle-bundle
=====================

This Bundle provide integration for guzzle http client to access RESTful API's with Symfony2

v1.0.0(13y ago)644.0k26[6 issues](https://github.com/ddeboer/GuzzleBundle/issues)[3 PRs](https://github.com/ddeboer/GuzzleBundle/pulls)MITPHPPHP &gt;=5.3.2

Since Oct 25Pushed 13y ago2 watchersCompare

[ Source](https://github.com/ddeboer/GuzzleBundle)[ Packagist](https://packagist.org/packages/ddeboer/guzzle-bundle)[ Docs](https://github.com/ddeboer/GuzzleBundle)[ RSS](/packages/ddeboer-guzzle-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (3)Used By (0)

DdeboerGuzzleBundle
===================

[](#ddeboerguzzlebundle)

DdeboerGuzzleBundle is a Symfony2 bundle for integrating the [Guzzle PHP library](http://github.com/guzzle/guzzle) in your project.

Installation
------------

[](#installation)

Installation is a quick (I promise!) 4 step process:

1. Download DdeboerGuzzleBundle
2. Configure the Autoloader
3. Enable the Bundle
4. Configure the DdeboerGuzzleBundle

### Step 1: Download DdeboerGuzzleBundle

[](#step-1-download-ddeboerguzzlebundle)

Ultimately, the GuzzleBundle files should be downloaded to the `vendor/bundles/Ddeboer/GuzzleBundle` directory.

This can be done in several ways, depending on your preference. The first method is the standard Symfony2 method.

**Using the vendors script**

Add the following lines in your `deps` file:

```
[guzzle]
    git=git://github.com/guzzle/guzzle.git
    target=guzzle

[DdeboerGuzzleBundle]
    git=git://github.com/ddeboer/GuzzleBundle.git
    target=bundles/Ddeboer/GuzzleBundle
```

Now, run the vendors script to download the bundle:

```
$ php bin/vendors install
```

**Using submodules**

If you prefer instead to use git submodules, then run the following:

```
$ git submodule add git://github.com/guzzle/guzzle.git vendor/guzzle
$ git submodule add git://github.com/ddeboer/GuzzleBundle vendor/bundles/Ddeboer/GuzzleBundle
$ git submodule update --init
```

### Step 2: Configure the Autoloader

[](#step-2-configure-the-autoloader)

Add the `Guzzle` and `Ddeboer` namespace to your autoloader:

```
