PHPackages                             php-http/utils - 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. php-http/utils

Abandoned → [php-http/client-common](/?search=php-http%2Fclient-common)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

php-http/utils
==============

HTTP Client utilities for HTTPlug

v0.2.1(10y ago)03.5k8[2 issues](https://github.com/php-http/utils/issues)MITPHPPHP &gt;=5.4

Since Dec 15Pushed 10y ago5 watchersCompare

[ Source](https://github.com/php-http/utils)[ Packagist](https://packagist.org/packages/php-http/utils)[ Docs](http://httplug.io)[ RSS](/packages/php-http-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (5)Used By (0)

> Moved to php-http/client-common

HTTP Client utilities
=====================

[](#http-client-utilities)

[![Latest Version](https://camo.githubusercontent.com/3f67a15628bd1656fa83545969ee63aa7009621595c9d665a2560ab7f1febc77/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d687474702f7574696c732e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-http/utils/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/0b523876708041e2350a324b14f8a9735b84b829e853234890f7d9540ba90067/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068702d687474702f7574696c732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/php-http/utils)[![Code Coverage](https://camo.githubusercontent.com/55168c3221575e58cda0f8366f70ec001ab4316e555307a42655ca6cec9db343/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7068702d687474702f7574696c732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/utils)[![Quality Score](https://camo.githubusercontent.com/b65e3b3b689d643a5e9cd28d89e878a9580d584424f0c1d0810258dfb925702a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068702d687474702f7574696c732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/utils)[![Total Downloads](https://camo.githubusercontent.com/998c81a9ecf58c14e8a1a96d9dc00e2e9a75432081053ef5b9670a4c3f254b70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d687474702f7574696c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-http/utils)

**HTTP Client utilities.**

Install
-------

[](#install)

Via Composer

```
$ composer require php-http/utils
```

Contents
--------

[](#contents)

The utilities are useful classes for users of HTTPlug and the `php-http/message-factory` library.

- `HttpMethodsClient` - Client decorator that provides convenience methods for HTTP requests without the need of acquiring a PSR-7 RequestInterface;
- `BatchClient` - Client decorator to send a list of requests in one call;
- Factory implementations for Guzzle6 and Diactoros.

Documentation
-------------

[](#documentation)

Please see the [official documentation](http://docs.httplug.io).

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please contact us at or .

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~1 days

Total

3

Last Release

3805d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://avatars.githubusercontent.com/u/76576?v=4)[David Buchmann](/maintainers/dbu)[@dbu](https://github.com/dbu)

![](https://www.gravatar.com/avatar/3fb6e13a139230893f783118651540d3d057979fd726fefd135b1b397873010e?d=identicon)[php-http](/maintainers/php-http)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (26 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (19 commits)")[![joelwurtz](https://avatars.githubusercontent.com/u/90466?v=4)](https://github.com/joelwurtz "joelwurtz (7 commits)")[![Swader](https://avatars.githubusercontent.com/u/1430603?v=4)](https://github.com/Swader "Swader (2 commits)")

---

Tags

httpclienthttplugutils

### Embed Badge

![Health badge](/badges/php-http-utils/health.svg)

```
[![Health](https://phpackages.com/badges/php-http-utils/health.svg)](https://phpackages.com/packages/php-http-utils)
```

###  Alternatives

[php-http/client-common

Common HTTP Client implementations and tools for HTTPlug

1.1k225.5M571](/packages/php-http-client-common)[php-http/httplug-bundle

Symfony integration for HTTPlug

38921.0M54](/packages/php-http-httplug-bundle)[php-http/httplug-pack

A pack to install HTTP clients in a Symfony Flex application

38802.4k2](/packages/php-http-httplug-pack)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[php-http/react-adapter

React HTTP Adapter

19260.9k3](/packages/php-http-react-adapter)

PHPackages © 2026

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