PHPackages                             hashhesh/guzzle - 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. hashhesh/guzzle

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

hashhesh/guzzle
===============

Guzzle is a PHP HTTP client library

02PHP

Since Jan 13Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)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/ec046d334f06a696be143e39795716b13cb4b8454fa1bc23e6d02d0ca6568c87/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f67757a7a6c652f67757a7a6c652f43493f6c6162656c3d63692532306275696c64267374796c653d666c61742d737175617265)](https://github.com/guzzle/guzzle/actions?query=workflow%3ACI)[![Total Downloads](https://camo.githubusercontent.com/3a2f550b47182f922ea7957b707e5e886f54b444ac85347722c0c16daa9c0b34/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67757a7a6c65687474702f67757a7a6c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/guzzlehttp/guzzle)

### Note:

[](#note)

this package it's the same as the original, the only thing changed is the namespaceing. In case you are working on system and it's using old psr7 version or causing conflicts or you can't upgrade the package version in core application then use this package. this package version is 7.5.0.

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 \HeGuzzleHttp\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 \HeGuzzleHttp\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`guzzle/guzzle``Guzzle`[v3](https://github.com/guzzle/guzzle3)[v3](https://guzzle3.readthedocs.io/)No&gt;=5.3.3,&lt;7.04.xEOL`guzzlehttp/guzzle``GuzzleHttp`[v4](https://github.com/guzzle/guzzle/tree/4.x)N/ANo&gt;=5.4,&lt;7.05.xEOL`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.xSecurity fixes`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.3Security
--------

[](#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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/87838a51d6460a8b2022507b395c20932a406e471cfe6b1abce5cb8b772f6b71?d=identicon)[hesh](/maintainers/hesh)

---

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 (100 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 (14 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)")[![hussainweb](https://avatars.githubusercontent.com/u/1040271?v=4)](https://github.com/hussainweb "hussainweb (9 commits)")[![jeskew](https://avatars.githubusercontent.com/u/705500?v=4)](https://github.com/jeskew "jeskew (9 commits)")[![alexeyshockov](https://avatars.githubusercontent.com/u/203120?v=4)](https://github.com/alexeyshockov "alexeyshockov (8 commits)")[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (7 commits)")[![pelepelin](https://avatars.githubusercontent.com/u/397256?v=4)](https://github.com/pelepelin "pelepelin (7 commits)")[![ivank](https://avatars.githubusercontent.com/u/4976?v=4)](https://github.com/ivank "ivank (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)")

### Embed Badge

![Health badge](/badges/hashhesh-guzzle/health.svg)

```
[![Health](https://phpackages.com/badges/hashhesh-guzzle/health.svg)](https://phpackages.com/packages/hashhesh-guzzle)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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