# Nyholm/psr7

A super lightweight PSR-7 implementation

Repository: https://github.com/Nyholm/psr7
Canonical: https://ross.abutalabs.com/products/psr7
Language: PHP
License: MIT
License Family: permissive
Topics: psr-7, psr-17
Last push: 2025-11-28T13:47:42+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 54, release rhythm 8, longevity 100
- inputs: {"age_days": 3703, "days_push": 278, "days_rel": 723, "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 1277, forks 78 (observed 2026-08-28T04:04:13.229405+00:00)

## What it is
A super lightweight, strict, and fast PHP implementation of the PSR-7 HTTP message interfaces and PSR-17 factories. It provides request, response, stream, and URI objects with minimal code and strong performance compared to alternatives like Guzzle or Laminas.

## Use cases
- implement psr-7 http messages in php
- create psr-17 factories for requests and streams
- use with psr-18 http clients like buzz
- build server requests from php superglobals
- lightweight alternative to guzzle psr-7

## When to choose
- you need a strict, standards-compliant PSR-7/PSR-17 implementation
- performance and low code size matter
- you use HTTPlug or PSR-18 clients
- you want Symfony Flex integration

## When to avoid
- you need extra features beyond the PSR-7 spec
- your framework already bundles a PSR-7 implementation

## Facets
- artifact type: library
- maturity: active
- function: http-client, http-server, serialization
- domain: web-development, backend, apis
- platform: php
- tags: psr-7, psr-17, http-message, httplug, composer

## Member repositories
- Nyholm/psr7 (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.229405+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-30T05:02:48.494124+00:00, confidence not recorded.
  - readme: https://github.com/Nyholm/psr7 (fetched 2026-08-28T04:04:13.229405+00:00, sha 1614593570d2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
