HTTPlug
HTTPlug, the HTTP client abstraction for PHP observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 56
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4148
- days_rel: 709
- days_push: 266
- n_releases_24m: 1
Adoption not part of the score
2590 stars · 40 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
HTTPlug is an HTTP client abstraction for PHP built on PSR-7 messages, defining synchronous and asynchronous client interfaces. It lets library authors decouple from specific HTTP client implementations via adapters and a plugin system for request lifecycle logic.
Use cases
- write a reusable PHP package that needs an HTTP client without binding to Guzzle
- swap HTTP client implementations behind a common interface
- add logging or authentication plugins to HTTP requests
- make asynchronous HTTP requests in PHP
- build API client SDKs on top of PSR-7
When to choose
- you are building a PHP library or SDK that should work with any HTTP client
- you want plugin-based request/response middleware across clients
- your project already uses PSR-7 message interfaces
When to avoid
- you only need a simple synchronous client and can use PSR-18 directly
- you want a full-featured HTTP client rather than an abstraction layer
- your project is not PHP
Facets
library · maturity stable
http-client middleware plugin-system web-development apis developer-tools php psr-7 psr-18 http-client-abstraction async-http composer
2 sources
- readme: https://github.com/php-http/httplug · fetched 2026-08-28 · 2b6b3b0cedb3
- homepage: http://httplug.io · fetched 2026-08-29 · 7c43a73cf5a3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| php-http/httplug | main | 48 |
| php-http/promise | sdk | 48 |
| php-http/guzzle6-adapter | plugin | 10 |
| php-http/client-common | sdk | 54 |
For agents
markdown · JSON · MCP: product_card(name="php-http/httplug")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem