PHPackages                             nessworthy/amphp-http-httplug - 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. nessworthy/amphp-http-httplug

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

nessworthy/amphp-http-httplug
=============================

A small crappy adapter package to support php-http/async-client-implementation via. amphp/http-client.

1.0.1(5y ago)11311MITPHP

Since Apr 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Nessworthy/amphp-http-httplug)[ Packagist](https://packagist.org/packages/nessworthy/amphp-http-httplug)[ Docs](https://github.com/Nessworthy/amphp-http-httplug)[ RSS](/packages/nessworthy-amphp-http-httplug/feed)WikiDiscussions master Synced 4w ago

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

AMPHP HTTP to HTTPlug Adapter
=============================

[](#amphp-http-to-httplug-adapter)

Not recognised or endorsed by AMPHP. Would not say it's that good either.

Have a package that requires `php-http/client-implementation`, but you're running AMP? Here's the solution!

Requirements
------------

[](#requirements)

- PHP &gt;= 7.2
- An implementation of `psr/http-factory-implementation` and `psr/http-message-implementation`. I recommend `laminas/laminas-diactoros` because it has a name that's 100% impossible to remember, and it's a damn good package.
- AMPHP (duh).

Usage:
------

[](#usage)

```
// Implementations of request/response factory interfaces. Are not bundled with this package!
use Laminas\Diactoros\RequestFactory;
use Laminas\Diactoros\ResponseFactory;

use Amp\Http\Client\Psr7\PsrAdapter;
use Nessworthy\AmpHttpPlug\AmpHttpClientAdapter;

use Amp\Http\Client\HttpClientBuilder;

$httpClient = HttpClientBuilder::buildDefault();
$psrAdapter = new PsrAdapter(
    new RequestFactory,
    new ResponseFactory
);

// Implements async and non-async interfaces.
$adapter = new AmpHttpClientAdapter(
    $httpClient,
    $psrAdapter
);
```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

2

Last Release

1929d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12972?v=4)[Sean Mountcastle](/maintainers/Sean)[@sean](https://github.com/sean)

---

Top Contributors

[![Nessworthy](https://avatars.githubusercontent.com/u/1154344?v=4)](https://github.com/Nessworthy "Nessworthy (2 commits)")[![griniv](https://avatars.githubusercontent.com/u/39293376?v=4)](https://github.com/griniv "griniv (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nessworthy-amphp-http-httplug/health.svg)

```
[![Health](https://phpackages.com/badges/nessworthy-amphp-http-httplug/health.svg)](https://phpackages.com/packages/nessworthy-amphp-http-httplug)
```

###  Alternatives

[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

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

Symfony integration for HTTPlug

39022.0M62](/packages/php-http-httplug-bundle)[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.

36826.2k2](/packages/telnyx-telnyx-php)[retailcrm/api-client-php

PHP client for RetailCRM API

681.1M1](/packages/retailcrm-api-client-php)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48350.2M485](/packages/php-http-curl-client)[php-soap/psr18-transport

PSR-18 HTTP Client transport for SOAP

184.0M28](/packages/php-soap-psr18-transport)

PHPackages © 2026

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