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

ActiveLibrary[Framework](/categories/framework)

piv915/guzzle
=============

Guzzle is a PHP HTTP client library

6.0.2(10y ago)019MITPHPPHP &gt;=5.5.0

Since Nov 14Pushed 10y ago1 watchersCompare

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

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

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

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

[![Build Status](https://camo.githubusercontent.com/e1788b553338af7a464581e4b98e1144822a641b3052e33350b7d686e7b84b38/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f67757a7a6c652f67757a7a6c652e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/guzzle/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();
$res = $client->get('https://api.github.com/user', ['auth' =>  ['user', 'pass']]);
echo $res->getStatusCode();
// "200"
echo $res->getHeader('content-type');
// 'application/json; charset=utf8'
echo $res->getBody();
// {"type":"User"...'

// 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/)
- [stackoverflow](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.phar 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.phar update
```

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

[](#version-guidance)

VersionStatusPackagistNamespaceRepoDocsPSR-73.xEOL`guzzle/guzzle``Guzzle`[v3](https://github.com/guzzle/guzzle3)[v3](http://guzzle3.readthedocs.org/en/latest/)No4.xEOL`guzzlehttp/guzzle``GuzzleHttp`N/AN/ANo5.xMaintained`guzzlehttp/guzzle``GuzzleHttp`[v5](https://github.com/guzzle/guzzle/tree/5.3)[v5](http://guzzle.readthedocs.org/en/5.3/)No6.xLatest`guzzlehttp/guzzle``GuzzleHttp`[v6](https://github.com/guzzle/guzzle)[v6](http://guzzle.readthedocs.org/en/latest/)Yes

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 92% 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 ~14 days

Recently: every ~21 days

Total

97

Last Release

3929d ago

Major Versions

v1.0.4 → v2.0.02012-01-15

v2.8.8 → v3.0.02012-10-16

v3.8.1 → 4.0.0-rc.12014-03-15

4.2.3 → 5.0.02014-10-13

5.3.0 → 6.0.02015-05-26

PHP version history (4 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

### Community

Maintainers

![](https://www.gravatar.com/avatar/f3e9f2d9e9c53d9ddbc7b7377c4cc96d11da5eb4aaf00deebfd76fce284903d5?d=identicon)[pixkvix](/maintainers/pixkvix)

---

Top Contributors

[![mtdowling](https://avatars.githubusercontent.com/u/190930?v=4)](https://github.com/mtdowling "mtdowling (2331 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (26 commits)")[![jeremeamia](https://avatars.githubusercontent.com/u/107867?v=4)](https://github.com/jeremeamia "jeremeamia (20 commits)")[![hobodave](https://avatars.githubusercontent.com/u/12404?v=4)](https://github.com/hobodave "hobodave (13 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (11 commits)")[![gimler](https://avatars.githubusercontent.com/u/200904?v=4)](https://github.com/gimler "gimler (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)")[![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)")[![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)")[![kosmik-koi](https://avatars.githubusercontent.com/u/5972186?v=4)](https://github.com/kosmik-koi "kosmik-koi (6 commits)")[![laravelcms-zz](https://avatars.githubusercontent.com/u/5847267?v=4)](https://github.com/laravelcms-zz "laravelcms-zz (6 commits)")[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (6 commits)")[![Thinkscape](https://avatars.githubusercontent.com/u/270528?v=4)](https://github.com/Thinkscape "Thinkscape (6 commits)")[![kkopachev](https://avatars.githubusercontent.com/u/2279051?v=4)](https://github.com/kkopachev "kkopachev (5 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (5 commits)")[![ivank](https://avatars.githubusercontent.com/u/4976?v=4)](https://github.com/ivank "ivank (5 commits)")[![jamiehannaford](https://avatars.githubusercontent.com/u/1867202?v=4)](https://github.com/jamiehannaford "jamiehannaford (5 commits)")

---

Tags

httpclientframeworkrestcurlhttp clientweb service

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/guzzle

Guzzle is a PHP HTTP client library

23.4k991.0M31.1k](/packages/guzzlehttp-guzzle)[gregurco/guzzle-bundle-cache-plugin

Cache Plugin for Guzzle Bundle, a PHP HTTP client library and framework for building RESTful web service clients

11372.1k1](/packages/gregurco-guzzle-bundle-cache-plugin)

PHPackages © 2026

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