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

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

larvatatw/guzzle
================

Guzzle is a PHP HTTP client library

6.4.1(6y ago)01.9kMITPHPPHP &gt;=5.5

Since Nov 14Pushed 6y agoCompare

[ Source](https://github.com/LarvataTW/guzzle)[ Packagist](https://packagist.org/packages/larvatatw/guzzle)[ Docs](http://guzzlephp.org/)[ RSS](/packages/larvatatw-guzzle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (116)Used By (0)

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/65df634310bd57ad4a4f40673cea13cc633efd6c072ad977aa9840d6f772f0f3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f67757a7a6c652f67757a7a6c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/guzzle/guzzle)[![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.
- 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)

- [Documentation](http://guzzlephp.org/)
- [Stack Overflow](http://stackoverflow.com/questions/tagged/guzzle)
- [Gitter](https://gitter.im/guzzle/guzzle)

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

[](#installing-guzzle)

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

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of Guzzle:

```
composer require guzzlehttp/guzzle
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update Guzzle using composer:

```
composer update
```

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

[](#version-guidance)

VersionStatusPackagistNamespaceRepoDocsPSR-7PHP Version3.xEOL`guzzle/guzzle``Guzzle`[v3](https://github.com/guzzle/guzzle3)[v3](http://guzzle3.readthedocs.org)No&gt;= 5.3.34.xEOL`guzzlehttp/guzzle``GuzzleHttp`[v4](https://github.com/guzzle/guzzle/tree/4.x)N/ANo&gt;= 5.45.xEOL`guzzlehttp/guzzle``GuzzleHttp`[v5](https://github.com/guzzle/guzzle/tree/5.3)[v5](http://guzzle.readthedocs.org/en/5.3/)No&gt;= 5.46.xLatest`guzzlehttp/guzzle``GuzzleHttp`[v6](https://github.com/guzzle/guzzle)[v6](http://guzzle.readthedocs.org/en/latest/)Yes&gt;= 5.5

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 86% 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 ~25 days

Recently: every ~114 days

Total

115

Last Release

2383d ago

Major Versions

4.2.4 → 5.3.12016-07-15

5.3.1 → 6.2.22016-10-08

4.x-dev → 6.2.32017-02-28

5.3.2 → 6.3.12018-03-26

5.3.3 → 6.4.02019-10-23

PHP version history (5 changes)v1.0.3PHP &gt;=5.3.2

v3.7.4PHP &gt;=5.3.3

4.0.0-rc.1PHP &gt;=5.4.0

6.0.0PHP &gt;=5.5.0

6.2.1PHP &gt;=5.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/105282?v=4)[Kent Chung](/maintainers/ckentq)[@ckentq](https://github.com/ckentq)

---

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 (125 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (32 commits)")[![jeremeamia](https://avatars.githubusercontent.com/u/107867?v=4)](https://github.com/jeremeamia "jeremeamia (26 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (26 commits)")[![gmponos](https://avatars.githubusercontent.com/u/5675248?v=4)](https://github.com/gmponos "gmponos (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)")[![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)")[![pelepelin](https://avatars.githubusercontent.com/u/397256?v=4)](https://github.com/pelepelin "pelepelin (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)")[![hakre](https://avatars.githubusercontent.com/u/378849?v=4)](https://github.com/hakre "hakre (6 commits)")[![ivank](https://avatars.githubusercontent.com/u/4976?v=4)](https://github.com/ivank "ivank (6 commits)")[![kosmik-koi](https://avatars.githubusercontent.com/u/5972186?v=4)](https://github.com/kosmik-koi "kosmik-koi (6 commits)")

---

Tags

httpclientframeworkrestcurlhttp clientweb service

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/guzzle

Guzzle is a PHP HTTP client library

23.4k991.0M31.0k](/packages/guzzlehttp-guzzle)[eightpoints/guzzle-bundle

Integrates Guzzle 6.x, a PHP HTTP Client, into Symfony. Comes with easy and powerful configuration options and optional plugins.

45912.1M55](/packages/eightpoints-guzzle-bundle)

PHPackages © 2026

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