Download the PHP package estahn/guzzle-stereo-bundle without Composer
On this page you can find all versions of the php package estahn/guzzle-stereo-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download estahn/guzzle-stereo-bundle
More information about estahn/guzzle-stereo-bundle
Files in estahn/guzzle-stereo-bundle
Package guzzle-stereo-bundle
Short Description Record and Replay HTTP Responses easily in Symfony
License MIT
Homepage https://github.com/estahn/guzzle-stereo-bundle
Informations about the package guzzle-stereo-bundle
GuzzleStereoBundle
The GuzzleStereoBundle
provides integration of the 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
-
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:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
-
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: - Enable the service by adding the following empty configuration:
Usage
Refresh your page and find the created file in app/logs/record_<tape name>.json
.
Badge Mania
All versions of guzzle-stereo-bundle with dependencies
ikwattro/guzzle-stereo Version ~1.2
symfony/dependency-injection Version ~2.3|~3.0
symfony/config Version ~2.3|~3.0
symfony/http-kernel Version ~2.3|~3.0