# php-http/message

HTTP Message related tools

Repository: https://github.com/php-http/message
Canonical: https://ross.abutalabs.com/products/message
Homepage: http://php-http.org
Language: PHP
License: MIT
License Family: permissive
Last push: 2025-12-10T17:07:47+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 56, release rhythm 8, longevity 100
- inputs: {"age_days": 3909, "days_push": 266, "days_rel": 700, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1317, forks 40 (observed 2026-08-28T04:04:21.078904+00:00)

## What it is
A PHP library providing PSR-7 HTTP message related tools, including authentication implementations, stream encoding, message decorators, and message factories for Guzzle PSR-7 and Diactoros. It is part of the PHP-HTTP ecosystem supporting HTTPLug.

## Use cases
- add authentication headers to PSR-7 requests
- encode or decode HTTP message streams
- decorate or modify PSR-7 request and response messages
- create PSR-7 messages with Guzzle or Diactoros factories
- match incoming requests against patterns
- format requests as curl commands for debugging

## When to choose
- you are building on PSR-7 and need auth strategies, stream encoding, or message factories
- you use the PHP-HTTP/HTTPLug ecosystem and need compatible message tooling

## When to avoid
- you need a full HTTP client rather than message utilities
- your project does not use PSR-7 interfaces

## Facets
- artifact type: library
- maturity: stable
- function: http-client, middleware, auth, serialization
- domain: web-development, backend, apis, developer-tools
- platform: php
- tags: psr-7, http-message, httplug, stream-encoding, message-decorators, request-matching

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

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.078904+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:48:13.849658+00:00, confidence not recorded.
  - readme: https://github.com/php-http/message (fetched 2026-08-28T04:04:21.078904+00:00, sha 2ebdafc43e55)
- Data as of 2026-08-30T08:39:29.467469+00:00.
