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

Abandoned → [php-http/httplug](/?search=php-http%2Fhttplug)Library[HTTP &amp; Networking](/categories/http)

php-http/adapter
================

HTTPlug, the HTTP client abstraction for PHP

2.4.1(1y ago)2.6k9.0k40[1 issues](https://github.com/php-http/httplug/issues)[1 PRs](https://github.com/php-http/httplug/pulls)MITPHPPHP ^7.1 || ^8.0

Since Jun 3Pushed 6mo ago30 watchersCompare

[ Source](https://github.com/php-http/httplug)[ Packagist](https://packagist.org/packages/php-http/adapter)[ Docs](http://httplug.io)[ RSS](/packages/php-http-adapter/feed)WikiDiscussions 2.x Synced today

READMEChangelog (10)Dependencies (5)Versions (16)Used By (0)

HTTPlug
=======

[](#httplug)

[![Latest Version](https://camo.githubusercontent.com/d8a8903160852777f576962801d07ead021605692a6f2b7c01c2deb8bec39b3d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d687474702f687474706c75672e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-http/httplug/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://github.com/php-http/httplug/actions/workflows/ci.yml/badge.svg)](https://github.com/php-http/httplug/actions/workflows/ci.yml)[![Code Coverage](https://camo.githubusercontent.com/ab6c432dd81c13101ab61e4f2a02ee4217eaa8900c4231a87c5bbee8127dcc75/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7068702d687474702f687474706c75672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/httplug)[![Quality Score](https://camo.githubusercontent.com/7aae1bddb21f8b2656795b3e4dd4a78d99fe09b5863a8853236e071d6e2fa421/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068702d687474702f687474706c75672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/httplug)[![Total Downloads](https://camo.githubusercontent.com/808c496c5644ebc9fb42585a42c02d0fd01297dcfd7abba3bbf008e274c27d10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d687474702f687474706c75672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-http/httplug)

[![Email](https://camo.githubusercontent.com/5d8e1da332721c2ba7ce62f0f6fbb5492e4dc5b057a5e7ee3cabdf0945e22abb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f656d61696c2d7465616d40687474706c75672e696f2d626c75652e7376673f7374796c653d666c61742d737175617265)](mailto:team@httplug.io)

**HTTPlug, the HTTP client abstraction for PHP.**

Intro
-----

[](#intro)

HTTP client standard built on [PSR-7](http://www.php-fig.org/psr/psr-7/) HTTP messages. The HttpAsyncClient defines an asynchronous HTTP client for PHP.

This package also provides a synchronous HttpClient interface with the same method signature as the [PSR-18](http://www.php-fig.org/psr/psr-18/) client. For synchronous requests, we recommend using PSR-18 directly.

History
-------

[](#history)

HTTPlug is the official successor of the [ivory http adapter](https://github.com/egeloen/ivory-http-adapter). HTTPlug is a predecessor of [PSR-18](http://www.php-fig.org/psr/psr-18/)

Install
-------

[](#install)

Via Composer

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

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

[](#documentation)

Please see the [official documentation](http://docs.php-http.org).

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

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

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance52

Moderate activity, may be stable

Popularity48

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~242 days

Recently: every ~383 days

Total

15

Last Release

649d ago

Major Versions

v0.1.0 → v1.0.0-alpha2015-10-26

v1.1.0 → v2.0.02018-10-31

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

v2.0.0PHP ^7.0

2.2.0PHP ^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/808f1df1f6ccd749b9c985f3b4a8753788e9bf74e7cead639fcf49cd2a714fd0?d=identicon)[egeloen](/maintainers/egeloen)

![](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 (162 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (41 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (11 commits)")[![joelwurtz](https://avatars.githubusercontent.com/u/90466?v=4)](https://github.com/joelwurtz "joelwurtz (7 commits)")[![GeLoLabs](https://avatars.githubusercontent.com/u/149005863?v=4)](https://github.com/GeLoLabs "GeLoLabs (6 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (5 commits)")[![Big-Shark](https://avatars.githubusercontent.com/u/646054?v=4)](https://github.com/Big-Shark "Big-Shark (2 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (2 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (1 commits)")[![hannesvdvreken](https://avatars.githubusercontent.com/u/1410358?v=4)](https://github.com/hannesvdvreken "hannesvdvreken (1 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (1 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (1 commits)")[![ddeboer](https://avatars.githubusercontent.com/u/89267?v=4)](https://github.com/ddeboer "ddeboer (1 commits)")[![davidgrayston](https://avatars.githubusercontent.com/u/1229335?v=4)](https://github.com/davidgrayston "davidgrayston (1 commits)")[![gmponos](https://avatars.githubusercontent.com/u/5675248?v=4)](https://github.com/gmponos "gmponos (1 commits)")

---

Tags

httphttp-clienthttpclientphppsr-18httpclient

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[laudis/neo4j-php-client

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

185702.8k44](/packages/laudis-neo4j-php-client)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28150.5k](/packages/phpro-http-tools)

PHPackages © 2026

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