PHPackages                             blastcloud/guzzler - 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. blastcloud/guzzler

ActiveLibrary[Testing &amp; Quality](/categories/testing)

blastcloud/guzzler
==================

Supercharge your app or SDK with a testing library specifically for Guzzle.

2.3.0(10mo ago)272419.3k↑18.4%4[1 issues](https://github.com/blastcloud/guzzler/issues)20MITPHPPHP &gt;=8.1CI failing

Since Feb 28Pushed 10mo ago7 watchersCompare

[ Source](https://github.com/blastcloud/guzzler)[ Packagist](https://packagist.org/packages/blastcloud/guzzler)[ RSS](/packages/blastcloud-guzzler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (25)Used By (20)

[![](Guzzler-logo.svg)](Guzzler-logo.svg)

[ ![](https://github.com/blastcloud/guzzler/actions/workflows/run-tests.yml/badge.svg)](#)[ ![](https://camo.githubusercontent.com/51f19c583796702f556172b839caa3990ed3b05f1f66bbc89b7de945af785f83/68747470733a2f2f706f7365722e707567782e6f72672f626c617374636c6f75642f67757a7a6c65722f762f737461626c65)](#)[ ![](https://camo.githubusercontent.com/817bfe7a52889be0cee0c73ec0bff0f63eface37cb23a8d5dc214ac60eed7ccd/68747470733a2f2f706f7365722e707567782e6f72672f626c617374636c6f75642f67757a7a6c65722f646f776e6c6f616473)](https://packagist.org/packages/blastcloud/guzzler/stats)[ ![](https://camo.githubusercontent.com/50fb164fb473d322ca877528e436e8cfa1df03dee9df81e3c2910864ae8c4845/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30316336663636656161356462303265353431312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/blastcloud/guzzler/maintainability)[ ![](https://camo.githubusercontent.com/5f513d45e23216d0f5a7e873dfea640bad190feebdb7f754b7d43d5b2dc05e81/68747470733a2f2f706f7365722e707567782e6f72672f626c617374636c6f75642f67757a7a6c65722f6c6963656e7365)](https://github.com/blastcloud/guzzler/blob/master/LICENSE.md)---

> Full Documentation at [guzzler.dev](https://guzzler.dev)

Supercharge your app or SDK with a testing library specifically for Guzzle. Guzzler covers the process of setting up a mock handler, recording history of requests, and provides several convenience methods for creating expectations and assertions on that history.

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

[](#installation)

```
composer require --dev --prefer-dist blastcloud/guzzler
```

Example Usage
-------------

[](#example-usage)

```
