PHPackages                             jlaswell/vcr - 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. jlaswell/vcr

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jlaswell/vcr
============

A simple VCR-like HTTP recording and replay library for Guzzle

v0.1.3(1y ago)011MITPHPPHP ^8.2

Since Nov 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jlaswell/vcr)[ Packagist](https://packagist.org/packages/jlaswell/vcr)[ RSS](/packages/jlaswell-vcr/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

VCR for Guzzle
==============

[](#vcr-for-guzzle)

A simple VCR-like HTTP recording and replay library for Guzzle.

Overview
--------

[](#overview)

This library allows you to record HTTP interactions and replay them during tests. It was built so that I could stop copy and pasting mock requests in test cases.

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

[](#installation)

First, add the library to your project's dependencies by running:

```
composer require --dev jlaswell/vcr
```

Once the library is installed, you can start using it in your project. Here's a basic example of how to use it:

```
