PHPackages                             estahn/guzzle-stereo-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. [Testing &amp; Quality](/categories/testing)
4. /
5. estahn/guzzle-stereo-bundle

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

estahn/guzzle-stereo-bundle
===========================

Record and Replay HTTP Responses easily in Symfony

v0.2.0(10y ago)22.2k[1 PRs](https://github.com/estahn/guzzle-stereo-bundle/pulls)MITPHPPHP &gt;=5.6.0CI failing

Since Mar 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/estahn/guzzle-stereo-bundle)[ Packagist](https://packagist.org/packages/estahn/guzzle-stereo-bundle)[ Docs](https://github.com/estahn/guzzle-stereo-bundle)[ RSS](/packages/estahn-guzzle-stereo-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

GuzzleStereoBundle
==================

[](#guzzlestereobundle)

[![Latest Stable Version](https://camo.githubusercontent.com/a6eb8a0487270e9280acc0367820bef4384a237ff0a61f19b44310e527ab6a2e/68747470733a2f2f706f7365722e707567782e6f72672f65737461686e2f67757a7a6c652d73746572656f2d62756e646c652f76657273696f6e2e706e67)](https://packagist.org/packages/estahn/guzzle-stereo-bundle)[![Total Downloads](https://camo.githubusercontent.com/8982eab1875ad7cf50e36c7a46588a9c08299cef1d3754756a8f80ebb4b9a54a/68747470733a2f2f706f7365722e707567782e6f72672f65737461686e2f67757a7a6c652d73746572656f2d62756e646c652f642f746f74616c2e706e67)](https://packagist.org/packages/estahn/guzzle-stereo-bundle)[![Dependency Status](https://camo.githubusercontent.com/3126fc9d6fd3dcd0cc6e2bafe08d5a939aed55aca3f0f5b8ae2f3ec6e684a683/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536653034653133646635373364303033663230623230642f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/56e04e13df573d003f20b20d)[![SensioLabsInsight](https://camo.githubusercontent.com/21f13912e251b03df8fa8045d5e98cfe88506fab5723ed1ff773d25206ec458e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36666666626633312d303434642d343638662d386462612d6539363264386664363236642f6d696e692e706e67)](https://insight.sensiolabs.com/projects/6fffbf31-044d-468f-8dba-e962d8fd626d)[![Build Status](https://camo.githubusercontent.com/a3e9b3f55a9ca02ad2913d327551cfdac798bebe5a7cca5c634c433bb1b82c4f/68747470733a2f2f7472617669732d63692e6f72672f65737461686e2f67757a7a6c652d73746572656f2d62756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/estahn/guzzle-stereo-bundle)[![StyleCI](https://camo.githubusercontent.com/fc72f919d166b6686c941bf835dd93895f451556a42a07c4d558df401ea284d2/68747470733a2f2f7374796c6563692e696f2f7265706f732f35333439383039372f736869656c64)](https://styleci.io/repos/53498097)

The `GuzzleStereoBundle` provides integration of the [guzzle-stereo](https://github.com/ikwattro/guzzle-stereo) library into the Symfony2 framework.

Features include:

- Automatic recording of all outgoing requests through Guzzle
- Replay recorded requests in functional tests
- Copy &amp; paste of file with last recorded requests

`GuzzleStereoBundle` automatically hooks `guzzle-stereo` into Guzzle which then records all requests made through Guzzle. The goal is to reduce the effort to create mocks for external requests.

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

[](#installation)

1. Download the Bundle

    Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

    ```
    $ composer require estahn/guzzle-stereo-bundle --dev
    ```

    This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.
2. Enable the Bundle

    Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

    ```
