# php-http/message-factory

Abandoned: Httplug Factory interfaces for PSR-7 HTTP Message

Repository: https://github.com/php-http/message-factory
Canonical: https://ross.abutalabs.com/products/message-factory
Homepage: http://php-http.org
Language: PHP
License: MIT
License Family: permissive
Archived: true
Last push: 2023-04-14T14:17:26+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4125, "days_push": 1237, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1385, forks 10 (observed 2026-08-28T04:04:34.880576+00:00)

## What it is
php-http/message-factory provides factory interfaces for creating PSR-7 HTTP message objects as part of the HTTPlug ecosystem. It is now obsolete, superseded by the PSR-17 http-factory standard, and is maintained only to avoid breaking legacy code.

## Use cases
- create PSR-7 request and response objects in legacy HTTPlug code
- provide message factory interfaces for HTTP client libraries
- maintain compatibility with packages that depend on HTTPlug factories
- migrate codebases from HTTPlug factories to PSR-17

## When to choose
- you maintain legacy code that already depends on HTTPlug factory interfaces
- a third-party package requires php-http/message-factory as a dependency

## When to avoid
- starting a new project — use PSR-17 (psr/http-factory) instead
- your HTTP client already provides PSR-17 factories
- you need actively maintained or supported code

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, middleware
- domain: web-development, apis, backend
- platform: php
- tags: psr-7, psr-17, http-message, factory-interfaces, httplug, legacy

## Member repositories
- php-http/message-factory (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.880576+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:57.548633+00:00, confidence not recorded.
  - readme: https://github.com/php-http/message-factory (fetched 2026-08-28T04:04:34.880576+00:00, sha 997ca80d2030)
- Data as of 2026-08-30T08:39:29.467469+00:00.
