php-fig/http-factory
Implementation of PSR-17 (HTTP Message Factories) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 2956
- days_rel: n/a
- days_push: 845
- n_releases_24m: 0
Adoption not part of the score
1890 stars · 26 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PHP-FIG's PSR-17 interfaces describing factories for creating PSR-7 HTTP message objects (requests, responses, URIs, streams, uploaded files). It provides only interfaces, not an implementation, enabling interoperability between HTTP libraries and frameworks.
Use cases
- create PSR-7 HTTP messages without coupling to a specific implementation
- write framework-agnostic PHP middleware that needs request/response factories
- swap HTTP message implementations in a PHP application via a standard interface
- build reusable PHP packages that construct HTTP requests and responses
- type-hint against a standard HTTP factory in dependency injection containers
When to choose
- you are building PHP libraries or middleware that must interoperate with any PSR-7 implementation
- you need standard interfaces to inject HTTP message factories into your components
- you are implementing PSR-17 in your own HTTP message library
When to avoid
- you need an actual working HTTP factory implementation rather than interfaces
- your project does not use PSR-7 HTTP messages
- you are not working in PHP
Facets
library · maturity stable
http-client http-server middleware web-development backend apis php psr-17 psr-7 http-factories interfaces interop php-fig standards
3 sources
- readme: https://github.com/php-fig/http-factory · fetched 2026-08-28 · d80b63e2a8c4
- homepage: https://www.php-fig.org/psr/psr-17/ · fetched 2026-08-29 · e25b56700360
- site_page: https://www.php-fig.org/faqs · fetched 2026-08-29 · a652ee5a57f9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| php-fig/http-factory | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="php-fig/http-factory")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem