{"id":17095437,"url":"https://github.com/estahn/guzzle-stereo-bundle","last_synced_at":"2025-04-12T23:22:14.114Z","repository":{"id":56979450,"uuid":"53498097","full_name":"estahn/guzzle-stereo-bundle","owner":"estahn","description":"Record and Replay HTTP Responses easily in Symfony","archived":false,"fork":false,"pushed_at":"2023-12-15T20:11:37.000Z","size":16,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T17:21:24.071Z","etag":null,"topics":["guzzle","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/estahn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-09T13:03:14.000Z","updated_at":"2024-01-21T13:47:42.000Z","dependencies_parsed_at":"2024-11-14T20:49:18.481Z","dependency_job_id":null,"html_url":"https://github.com/estahn/guzzle-stereo-bundle","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"014887809b0dc798210433beb827dd062e0579a8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estahn%2Fguzzle-stereo-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estahn%2Fguzzle-stereo-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estahn%2Fguzzle-stereo-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estahn%2Fguzzle-stereo-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estahn","download_url":"https://codeload.github.com/estahn/guzzle-stereo-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248644211,"owners_count":21138570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["guzzle","php","symfony","symfony-bundle"],"created_at":"2024-10-14T14:42:48.377Z","updated_at":"2025-04-12T23:22:14.091Z","avatar_url":"https://github.com/estahn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GuzzleStereoBundle\n\n[![Latest Stable Version](https://poser.pugx.org/estahn/guzzle-stereo-bundle/version.png)](https://packagist.org/packages/estahn/guzzle-stereo-bundle)\n[![Total Downloads](https://poser.pugx.org/estahn/guzzle-stereo-bundle/d/total.png)](https://packagist.org/packages/estahn/guzzle-stereo-bundle)\n[![Dependency Status](https://www.versioneye.com/user/projects/56e04e13df573d003f20b20d/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56e04e13df573d003f20b20d)\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/6fffbf31-044d-468f-8dba-e962d8fd626d/mini.png)](https://insight.sensiolabs.com/projects/6fffbf31-044d-468f-8dba-e962d8fd626d)\n[![Build Status](https://travis-ci.org/estahn/guzzle-stereo-bundle.png?branch=master)](https://travis-ci.org/estahn/guzzle-stereo-bundle)\n[![StyleCI](https://styleci.io/repos/53498097/shield)](https://styleci.io/repos/53498097)\n\nThe `GuzzleStereoBundle` provides integration of the [guzzle-stereo](https://github.com/ikwattro/guzzle-stereo) library into the Symfony2 framework.\n\nFeatures include:\n* Automatic recording of all outgoing requests through Guzzle\n* Replay recorded requests in functional tests\n* Copy \u0026 paste of file with last recorded requests\n\n`GuzzleStereoBundle` automatically hooks `guzzle-stereo` into Guzzle which then records all requests made through Guzzle.\nThe goal is to reduce the effort to create mocks for external requests.\n\n## Installation\n\n1. Download the Bundle\n\n   Open a command console, enter your project directory and execute the\n   following command to download the latest stable version of this bundle:\n\n   ```bash\n   $ composer require estahn/guzzle-stereo-bundle --dev\n   ```\n\n   This command requires you to have Composer installed globally, as explained\n   in the [installation chapter](https://getcomposer.org/doc/00-intro.md)\n   of the Composer documentation.\n\n2. Enable the Bundle\n\n   Then, enable the bundle by adding it to the list of registered bundles\n   in the `app/AppKernel.php` file of your project:\n\n   ```php\n   \u003c?php\n   // app/AppKernel.php\n    \n   // ...\n   class AppKernel extends Kernel\n   {\n       public function registerBundles()\n       {\n           $bundles = array(\n               // ...\n   \n               new EnricoStahn\\Bundle\\GuzzleStereoBundle\\GuzzleStereoBundle(),\n           );\n   \n           // ...\n       }\n    \n       // ...\n   }\n   ```\n\n3. Enable the service by adding the following empty configuration:\n\n    ```yaml\n    # app/config/config_test.yml\n    guzzle_stereo: ~\n    ```\n\n## Usage\n\nRefresh your page and find the created file in `app/logs/record_\u003ctape name\u003e.json`.\n\n## Badge Mania\n[![Build Status](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/badges/build.png?b=master)](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/build-status/master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/estahn/guzzle-stereo-bundle/?branch=master)\n[![Codacy Badge](https://api.codacy.com/project/badge/grade/41e45a52a1594fa1831bd620d6cca026)](https://www.codacy.com/app/estahn/guzzle-stereo-bundle)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festahn%2Fguzzle-stereo-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festahn%2Fguzzle-stereo-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festahn%2Fguzzle-stereo-bundle/lists"}