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

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

programster/guzzle-wrapper
==========================

A library to make it easier to use Guzzle for sending HTTP requests.

1.1.0(5y ago)091MITPHPPHP &gt;=7.0.0CI failing

Since Sep 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/programster/package-guzzle-wrapper)[ Packagist](https://packagist.org/packages/programster/guzzle-wrapper)[ Docs](http://blog.programster.org)[ RSS](/packages/programster-guzzle-wrapper/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Guzzle Wrapper
==============

[](#guzzle-wrapper)

A library that wraps around Guzzle in order to make it easier to send HTTP requests. If you need to do anything more complicated, then you can just get the guzzle objects within.

Example Usage
-------------

[](#example-usage)

```
$request = new Programster\GuzzleWrapper\Request(
    Programster\GuzzleWrapper\Method::createGet(),
    'http://my.domain.com',
    ['hello' => 'world']
);

// send the request to get a response
$response = $request->send();

// If we were sending to an API, then we want to json_decode the response
$jsonResponseObject = json_decode($response->getBody());
```

Switching to a POST/PUT/DELETE is a one line change. E.g.

```
$request = new Programster\GuzzleWrapper\Request(
    Programster\GuzzleWrapper\Method::createPost(),
    'http://my.domain.com',
    ['hello' => 'world']
);
```

Testing
-------

[](#testing)

Go to the tests folder and run:

```
php -S localhost:80 RequestDumper.php
```

Then execute the tests with:

```
php main.php
```

This should simply tell you whether each test passed or not.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~210 days

Total

5

Last Release

2011d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64a048ca8be761aced9419279975a21ef679b71c70d8263bc2fc413a87ad381c?d=identicon)[programster](/maintainers/programster)

---

Top Contributors

[![programster](https://avatars.githubusercontent.com/u/5709838?v=4)](https://github.com/programster "programster (6 commits)")

---

Tags

Guzzlelibrary

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[guzzlehttp/oauth-subscriber

Guzzle OAuth 1.0 subscriber

24215.4M150](/packages/guzzlehttp-oauth-subscriber)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

927.0M55](/packages/graham-campbell-guzzle-factory)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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