PHPackages                             php-http/client-common - 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/client-common

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

php-http/client-common
======================

Common HTTP Client implementations and tools for HTTPlug

2.7.3(5mo ago)1.1k225.5M—1.8%53[12 issues](https://github.com/php-http/client-common/issues)[3 PRs](https://github.com/php-http/client-common/pulls)20MITPHPPHP ^7.1 || ^8.0CI failing

Since Dec 25Pushed 5mo ago9 watchersCompare

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

READMEChangelog (10)Dependencies (11)Versions (39)Used By (20)

HTTP Client Common
==================

[](#http-client-common)

[![Latest Version](https://camo.githubusercontent.com/a041171a7c184c88b830b886def6cdd5568807bdd9dd3127d5d0faa6110cad14/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d687474702f636c69656e742d636f6d6d6f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-http/client-common/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://github.com/php-http/client-common/actions/workflows/tests.yml/badge.svg)](https://github.com/php-http/client-common/actions/workflows/tests.yml)[![Code Coverage](https://camo.githubusercontent.com/7717a20b08cae00d43866772397d330037058fb2b478912b0bc16b508dd99227/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7068702d687474702f636c69656e742d636f6d6d6f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/client-common)[![Quality Score](https://camo.githubusercontent.com/b1dcc26e1a1a61a4c0e68c1442c40f412f1d1b9e673842bff6edd36566dbd8a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068702d687474702f636c69656e742d636f6d6d6f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/client-common)[![Total Downloads](https://camo.githubusercontent.com/eb06402830d0367d37c8c1a801af841121163eb5fac5463a66321c1157a44385/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d687474702f636c69656e742d636f6d6d6f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-http/client-common)

**Common HTTP Client implementations and tools for HTTPlug.**

Install
-------

[](#install)

Via Composer

```
$ composer require php-http/client-common
```

Usage
-----

[](#usage)

This package provides common tools for HTTP Clients:

- BatchClient to handle sending requests in parallel
- A convenience client with HTTP method names as class methods
- Emulator, decorator layers for sync/async clients

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

[](#documentation)

Please see the [official documentation](http://docs.php-http.org/en/latest/components/client-common.html).

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).

Security
--------

[](#security)

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

License
-------

[](#license)

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

###  Health Score

73

—

ExcellentBetter than 100% of packages

Maintenance70

Regular maintenance activity

Popularity78

Solid adoption and visibility

Community54

Growing community involvement

Maturity80

Battle-tested with a long release history

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

Recently: every ~232 days

Total

38

Last Release

170d ago

Major Versions

v0.2.0 → v1.0.02016-01-27

1.9.0 → 2.0.0-RC12019-01-21

1.9.1 → 2.0.02019-02-03

1.10.0 → 2.1.02019-11-18

1.x-dev → 2.5.02021-11-26

PHP version history (4 changes)v0.1.0PHP &gt;=5.4

1.7.0PHP ^5.4 || ^7.0

2.0.0-RC1PHP ^7.1

2.2.1PHP ^7.1 || ^8.0

### 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

[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (132 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (49 commits)")[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (39 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (23 commits)")[![joelwurtz](https://avatars.githubusercontent.com/u/90466?v=4)](https://github.com/joelwurtz "joelwurtz (23 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (11 commits)")[![fbourigault](https://avatars.githubusercontent.com/u/1116116?v=4)](https://github.com/fbourigault "fbourigault (6 commits)")[![Chris8934](https://avatars.githubusercontent.com/u/44963939?v=4)](https://github.com/Chris8934 "Chris8934 (5 commits)")[![andrewkharook](https://avatars.githubusercontent.com/u/6512746?v=4)](https://github.com/andrewkharook "andrewkharook (4 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (3 commits)")[![Taluu](https://avatars.githubusercontent.com/u/239685?v=4)](https://github.com/Taluu "Taluu (3 commits)")[![Big-Shark](https://avatars.githubusercontent.com/u/646054?v=4)](https://github.com/Big-Shark "Big-Shark (2 commits)")[![gmponos](https://avatars.githubusercontent.com/u/5675248?v=4)](https://github.com/gmponos "gmponos (2 commits)")[![Chris53897](https://avatars.githubusercontent.com/u/7104259?v=4)](https://github.com/Chris53897 "Chris53897 (2 commits)")[![vudaltsov](https://avatars.githubusercontent.com/u/2552865?v=4)](https://github.com/vudaltsov "vudaltsov (2 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (2 commits)")[![lunika](https://avatars.githubusercontent.com/u/767834?v=4)](https://github.com/lunika "lunika (2 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")[![Headd2k](https://avatars.githubusercontent.com/u/2144150?v=4)](https://github.com/Headd2k "Headd2k (2 commits)")[![kpn13](https://avatars.githubusercontent.com/u/864114?v=4)](https://github.com/kpn13 "kpn13 (1 commits)")

---

Tags

httpclientcommonhttplug

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[php-http/httplug-bundle

Symfony integration for HTTPlug

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

Coroutine-based multi-platform support engine with a focus on concurrent I/O

1.3k2.1M84](/packages/swow-swow)[simpod/clickhouse-client

PHP ClickHouse Client

19116.7k](/packages/simpod-clickhouse-client)[amphp/http-client-psr7

PSR-7 adapter for Amp's HTTP client.

1454.7k4](/packages/amphp-http-client-psr7)

PHPackages © 2026

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