PHPackages                             ilzrv/guzzle-for-curl-mock - 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. [Framework](/categories/framework)
4. /
5. ilzrv/guzzle-for-curl-mock

ActiveLibrary[Framework](/categories/framework)

ilzrv/guzzle-for-curl-mock
==========================

Guzzle is a PHP HTTP client library

7.8.2(12mo ago)0985↓13.3%MITPHPPHP ^7.2.5 || ^8.0

Since Feb 23Pushed 12mo agoCompare

[ Source](https://github.com/ilzrv/guzzle-for-curl-mock)[ Packagist](https://packagist.org/packages/ilzrv/guzzle-for-curl-mock)[ GitHub Sponsors](https://github.com/GrahamCampbell)[ GitHub Sponsors](https://github.com/Nyholm)[ RSS](/packages/ilzrv-guzzle-for-curl-mock/feed)WikiDiscussions 7.9 Synced yesterday

READMEChangelog (1)Dependencies (9)Versions (13)Used By (0)

[![Guzzle](.github/logo.png?raw=true)](.github/logo.png?raw=true)

Guzzle, PHP HTTP client
=======================

[](#guzzle-php-http-client)

[![Latest Version](https://camo.githubusercontent.com/908e2c0c2b46d0b18d0aaeea5850529b5ee579ee9f9614972bf38eb7f98078e1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f67757a7a6c652f67757a7a6c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/guzzle/guzzle/releases)[![Build Status](https://camo.githubusercontent.com/24c0747dbd40b1f6bce1afc1324d1f8165b43b600bb1bdde7c705a9ea3aaf299/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f67757a7a6c652f67757a7a6c652f63692e796d6c3f6c6162656c3d63692532306275696c64267374796c653d666c61742d737175617265)](https://github.com/guzzle/guzzle/actions?query=workflow%3ACI)[![Total Downloads](https://camo.githubusercontent.com/3a2f550b47182f922ea7957b707e5e886f54b444ac85347722c0c16daa9c0b34/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67757a7a6c65687474702f67757a7a6c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/guzzlehttp/guzzle)

Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.

- Simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc...
- Can send both synchronous and asynchronous requests using the same interface.
- Uses PSR-7 interfaces for requests, responses, and streams. This allows you to utilize other PSR-7 compatible libraries with Guzzle.
- Supports PSR-18 allowing interoperability between other PSR-18 HTTP Clients.
- Abstracts away the underlying HTTP transport, allowing you to write environment and transport agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops.
- Middleware system allows you to augment and compose client behavior.

```
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://api.github.com/repos/guzzle/guzzle');

echo $response->getStatusCode(); // 200
echo $response->getHeaderLine('content-type'); // 'application/json; charset=utf8'
echo $response->getBody(); // '{"id": 1420053, "name": "guzzle", ...}'

// Send an asynchronous request.
$request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org');
$promise = $client->sendAsync($request)->then(function ($response) {
    echo 'I completed! ' . $response->getBody();
});

$promise->wait();
```

Help and docs
-------------

[](#help-and-docs)

We use GitHub issues only to discuss bugs and new features. For support please refer to:

- [Documentation](https://docs.guzzlephp.org)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/guzzle)
- [\#guzzle](https://app.slack.com/client/T0D2S9JCT/CE6UAAKL4) channel on [PHP-HTTP Slack](https://slack.httplug.io/)
- [Gitter](https://gitter.im/guzzle/guzzle)

Installing Guzzle
-----------------

[](#installing-guzzle)

The recommended way to install Guzzle is through [Composer](https://getcomposer.org/).

```
composer require guzzlehttp/guzzle
```

Version Guidance
----------------

[](#version-guidance)

VersionStatusPackagistNamespaceRepoDocsPSR-7PHP Version3.xEOL (2016-10-31)`guzzle/guzzle``Guzzle`[v3](https://github.com/guzzle/guzzle3)[v3](https://guzzle3.readthedocs.io/)No&gt;=5.3.3,&lt;7.04.xEOL (2016-10-31)`guzzlehttp/guzzle``GuzzleHttp`[v4](https://github.com/guzzle/guzzle/tree/4.x)N/ANo&gt;=5.4,&lt;7.05.xEOL (2019-10-31)`guzzlehttp/guzzle``GuzzleHttp`[v5](https://github.com/guzzle/guzzle/tree/5.3)[v5](https://docs.guzzlephp.org/en/5.3/)No&gt;=5.4,&lt;7.46.xEOL (2023-10-31)`guzzlehttp/guzzle``GuzzleHttp`[v6](https://github.com/guzzle/guzzle/tree/6.5)[v6](https://docs.guzzlephp.org/en/6.5/)Yes&gt;=5.5,&lt;8.07.xLatest`guzzlehttp/guzzle``GuzzleHttp`[v7](https://github.com/guzzle/guzzle)[v7](https://docs.guzzlephp.org/en/latest/)Yes&gt;=7.2.5,&lt;8.5Security
--------

[](#security)

If you discover a security vulnerability within this package, please send an email to . All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/guzzle/security/policy) for more information.

License
-------

[](#license)

Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.

For Enterprise
--------------

[](#for-enterprise)

Available as part of the Tidelift Subscription

The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-guzzlehttp-guzzle?utm_source=packagist-guzzlehttp-guzzle&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance50

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 77.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~339 days

Recently: every ~169 days

Total

10

Last Release

364d ago

Major Versions

4.x-dev → 5.3.x-dev2020-02-18

5.3.x-dev → 6.5.x-dev2022-06-20

6.5.x-dev → 7.5.x-dev2023-05-15

7.7.x-dev → 8.0.x-dev2024-03-31

PHP version history (4 changes)4.x-devPHP &gt;=5.4.0

6.5.x-devPHP &gt;=5.5

7.5.x-devPHP ^7.2.5 || ^8.0

8.0.x-devPHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d687963029adc07b2be221dd2fa5e08c0decbfc5f0720f0c49b5a7445513ccc?d=identicon)[ilzrv](/maintainers/ilzrv)

---

Top Contributors

[![mtdowling](https://avatars.githubusercontent.com/u/190930?v=4)](https://github.com/mtdowling "mtdowling (2412 commits)")[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (174 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (157 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (94 commits)")[![gmponos](https://avatars.githubusercontent.com/u/5675248?v=4)](https://github.com/gmponos "gmponos (68 commits)")[![jeremeamia](https://avatars.githubusercontent.com/u/107867?v=4)](https://github.com/jeremeamia "jeremeamia (26 commits)")[![TimWolla](https://avatars.githubusercontent.com/u/209270?v=4)](https://github.com/TimWolla "TimWolla (16 commits)")[![hobodave](https://avatars.githubusercontent.com/u/12404?v=4)](https://github.com/hobodave "hobodave (13 commits)")[![Tobion](https://avatars.githubusercontent.com/u/610090?v=4)](https://github.com/Tobion "Tobion (12 commits)")[![gimler](https://avatars.githubusercontent.com/u/200904?v=4)](https://github.com/gimler "gimler (11 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (11 commits)")[![Danack](https://avatars.githubusercontent.com/u/1505719?v=4)](https://github.com/Danack "Danack (10 commits)")[![jeskew](https://avatars.githubusercontent.com/u/705500?v=4)](https://github.com/jeskew "jeskew (9 commits)")[![hussainweb](https://avatars.githubusercontent.com/u/1040271?v=4)](https://github.com/hussainweb "hussainweb (9 commits)")[![alexeyshockov](https://avatars.githubusercontent.com/u/203120?v=4)](https://github.com/alexeyshockov "alexeyshockov (8 commits)")[![pelepelin](https://avatars.githubusercontent.com/u/397256?v=4)](https://github.com/pelepelin "pelepelin (7 commits)")[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (7 commits)")[![adrienbrault](https://avatars.githubusercontent.com/u/611271?v=4)](https://github.com/adrienbrault "adrienbrault (6 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (6 commits)")[![fubhy](https://avatars.githubusercontent.com/u/1172528?v=4)](https://github.com/fubhy "fubhy (6 commits)")

---

Tags

httppsr-7clientframeworkrestcurlhttp clientweb servicepsr-18

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ilzrv-guzzle-for-curl-mock/health.svg)

```
[![Health](https://phpackages.com/badges/ilzrv-guzzle-for-curl-mock/health.svg)](https://phpackages.com/packages/ilzrv-guzzle-for-curl-mock)
```

###  Alternatives

[guzzlehttp/guzzle

Guzzle is a PHP HTTP client library

23.5k1.0B35.4k](/packages/guzzlehttp-guzzle)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
