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

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

duncan3dc/guzzle-tools
======================

A few tools for working with Guzzle

0.5.0(3y ago)1275[1 PRs](https://github.com/duncan3dc/guzzle-tools/pulls)Apache-2.0PHPPHP ^8.0CI passing

Since Feb 8Pushed 2w ago1 watchersCompare

[ Source](https://github.com/duncan3dc/guzzle-tools)[ Packagist](https://packagist.org/packages/duncan3dc/guzzle-tools)[ Docs](https://github.com/duncan3dc/guzzle-tools)[ RSS](/packages/duncan3dc-guzzle-tools/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (12)Versions (8)Used By (0)

guzzle-tools
============

[](#guzzle-tools)

A PHP library offering some add-ons for [Guzzle](http://guzzlephp.org/).

[![release](https://camo.githubusercontent.com/e20c822ac90446f8cf200d6a715a0386dfcf7090d0a48d0b915106b619ae3a35/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e3364632f67757a7a6c652d746f6f6c732f76657273696f6e2e737667)](https://packagist.org/packages/duncan3dc/guzzle-tools)[![build](https://github.com/duncan3dc/guzzle-tools/workflows/.github/workflows/buildcheck.yaml/badge.svg?branch=main)](https://github.com/duncan3dc/guzzle-tools/actions?query=branch%3Amain+workflow%3A.github%2Fworkflows%2Fbuildcheck.yaml)[![coverage](https://camo.githubusercontent.com/77dff21fe7c6192182868b2b05fa5f7c52101fe02c9e282201c7a6829d92d481/68747470733a2f2f636f6465636f762e696f2f67682f64756e63616e3364632f67757a7a6c652d746f6f6c732f67726170682f62616467652e737667)](https://codecov.io/gh/duncan3dc/guzzle-tools)

Installation
------------

[](#installation)

The recommended method of installing this library is via [Composer](//getcomposer.org/).

Run the following command from your project root:

```
$ composer require duncan3dc/guzzle-tools
```

Quick Examples
--------------

[](#quick-examples)

### Logging

[](#logging)

When working with Guzzle I got bored of searching for the solution to output the request/response every time I wanted a quick debug, this library makes it easy:

```
$client = \duncan3dc\Guzzle\Factory::getClient();

$client->request("GET", "http://example.com/");
```

Running the above would output this on the command line:

```
>

```

### Request Building

[](#request-building)

As of version 6.0.0 Guzzle no longer offers a way to build a request instance to send later, this library provides a simple workaround:

```
$request = \duncan3dc\Guzzle\Request::make("GET", "https://example.com/", [
    "query" =>  [
        "date"  =>  date("Y-m-d"),
    ],
]);

# There's also an alias on the main factory class
$request = \duncan3dc\Guzzle\Factory::request("GET", "https://example.com/");
```

### Simple Requests

[](#simple-requests)

When all you need is a basic GET/POST, you can use the `Http` class:

```
$response = \duncan3dc\Guzzle\Http::get("https://example.com/", [
    "date"  =>  date("Y-m-d"),
]);

$response = \duncan3dc\Guzzle\Http::post("https://example.com/", [
    "date"  =>  date("Y-m-d"),
]);
```

Changelog
---------

[](#changelog)

A [Changelog](CHANGELOG.md) has been available since the beginning of time

Where to get help
-----------------

[](#where-to-get-help)

Found a bug? Got a question? Just not sure how something works?
Please [create an issue](https://github.com/duncan3dc/guzzle-tools/issues) and I'll do my best to help out.
Alternatively you can connect with me on [LinkedIn](https://linkedin.com/in/duncan3dc)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance63

Regular maintenance activity

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.3% 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 ~563 days

Total

5

Last Release

1221d ago

PHP version history (3 changes)0.1.0PHP ^5.6|^7.0

0.4.0PHP ^7.3 || ^8.0

0.5.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/11dc66042513f11d1c99b1e6763f25dca84a3ff31cdbea3972b9b804a3d3d5e9?d=identicon)[duncan3dc](/maintainers/duncan3dc)

---

Top Contributors

[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (57 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

guzzlephplogdebugGuzzleoutput

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[google/auth

Google Auth Library for PHP

1.4k302.1M240](/packages/google-auth)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k20](/packages/tempest-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M776](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M668](/packages/shopware-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

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

PHPackages © 2026

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