https://github.com/estahn/guzzle-stereo-bundle
Record and Replay HTTP Responses easily in Symfony
https://github.com/estahn/guzzle-stereo-bundle
guzzle php symfony symfony-bundle
Last synced: 18 days ago
JSON representation
Record and Replay HTTP Responses easily in Symfony
- Host: GitHub
- URL: https://github.com/estahn/guzzle-stereo-bundle
- Owner: estahn
- License: mit
- Created: 2016-03-09T13:03:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:11:37.000Z (over 1 year ago)
- Last Synced: 2025-03-26T17:21:24.071Z (about 1 month ago)
- Topics: guzzle, php, symfony, symfony-bundle
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GuzzleStereoBundle
[](https://packagist.org/packages/estahn/guzzle-stereo-bundle)
[](https://packagist.org/packages/estahn/guzzle-stereo-bundle)
[](https://www.versioneye.com/user/projects/56e04e13df573d003f20b20d)
[](https://insight.sensiolabs.com/projects/6fffbf31-044d-468f-8dba-e962d8fd626d)
[](https://travis-ci.org/estahn/guzzle-stereo-bundle)
[](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 & 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
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:```bash
$ 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:```php
.json`.## Badge Mania
[](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/build-status/master)
[](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/?branch=master)
[](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/?branch=master)
[](https://www.codacy.com/app/estahn/guzzle-stereo-bundle)