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

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

cvreferral/guzzle
=================

Guzzle is a PHP HTTP client library

094PHP

Since Dec 31Pushed 5y agoCompare

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

READMEChangelogDependenciesVersions (1)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->request('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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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/7d06094f412fd511e4b4986c32b22f14aabf1a6dafab08c920779bf904729818?d=identicon)[it-cvr](/maintainers/it-cvr)

---

Top Contributors

[![minhmanit](https://avatars.githubusercontent.com/u/13248048?v=4)](https://github.com/minhmanit "minhmanit (1 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/cvreferral-guzzle/health.svg)](https://phpackages.com/packages/cvreferral-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)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

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

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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