symfony/http-foundation
Defines an object-oriented layer for the HTTP specification observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
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: 0
- age_days: 5671
- days_rel: 11
- days_push: 8
- n_releases_24m: 88
Adoption not part of the score
8625 stars · 306 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Symfony component that defines an object-oriented layer for the HTTP specification, replacing PHP's global variables and functions with Request and Response objects. It is one of the most widely adopted PHP libraries, used by Laravel, Drupal, Joomla, and many other projects.
Use cases
- handle HTTP requests and responses in a PHP application without a full framework
- access request data like query params, POST bodies, cookies, and files in an object-oriented way
- manage sessions and cookies in PHP
- build a custom micro-framework or API on top of Request/Response objects
- send JSON or streaming responses and server-sent events
- inspect and manipulate HTTP headers and Accept-* negotiation
When to choose
- you are building a PHP web application or framework and want a battle-tested HTTP abstraction
- you want to avoid dealing with PHP superglobals directly
- you are using Symfony or a framework built on Symfony components
- you need session, cookie, file upload, or header handling with a stable, well-documented API
When to avoid
- you are not working in PHP
- you want a full-stack framework with routing, templating, and DI out of the box (use Symfony full framework instead)
- you need an async or non-blocking HTTP server
Facets
library · maturity stable
http-server middleware file-upload web-development backend apis php http-request http-response symfony-component sessions headers session
7 sources
- readme: https://github.com/symfony/http-foundation · fetched 2026-08-28 · 64152177d226
- homepage: https://symfony.com/http-foundation · fetched 2026-08-29 · cb7b78c6e277
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/components/http_foundation.html · fetched 2026-08-29 · 18402ba4814d
- site_page: https://symfony.com/projects/phpmyfaq · fetched 2026-08-29 · e9c38f954f59
- site_page: https://symfony.com/releases · fetched 2026-08-29 · f109a7a4a5da
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · 373d532304d3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/http-foundation | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="symfony/http-foundation")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem