ralouphie/getallheaders
PHP getallheaders polyfill observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4475
- days_rel: n/a
- days_push: 2448
- n_releases_24m: 0
Adoption not part of the score
3778 stars · 35 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A PHP polyfill for the getallheaders() function, compatible with PHP >= 5.3. It provides access to all HTTP request headers on servers where the native function is unavailable (e.g., non-Apache or FastCGI setups).
Use cases
- read all HTTP request headers in PHP on nginx or FastCGI
- polyfill getallheaders on PHP < 7.3
- access request headers in a framework without header support
- portable header parsing across PHP server APIs
When to choose
- you need getallheaders() on PHP versions or SAPIs where it is missing
- you want a tiny, dependency-free Composer package
When to avoid
- you run PHP >= 7.3 where getallheaders is built in for most SAPIs
- you use a framework like Symfony or Laravel that already abstracts request headers
Facets
library · maturity maintenance
http-server developer-tools web-development backend developer-tools php polyfill http-headers composer
1 source
- readme: https://github.com/ralouphie/getallheaders · fetched 2026-08-28 · a5a015ade842
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ralouphie/getallheaders | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="ralouphie/getallheaders")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem