amphp/http-server
An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 89
- Release rhythm 90
- 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: 10
- age_days: 4964
- days_rel: 67
- days_push: 67
- n_releases_24m: 10
Adoption not part of the score
1325 stars · 103 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
amphp/http-server is a non-blocking, concurrent HTTP/1.1 and HTTP/2 application server library for PHP built on the Revolt event loop and Amp fibers. It supports TLS, middleware, routing, static file serving, sessions, and WebSockets via companion packages.
Use cases
- build a high-concurrency async HTTP API server in PHP
- serve real-time apps with WebSockets in PHP
- run a non-blocking HTTP/2 server with TLS
- handle many concurrent I/O-bound requests without blocking
- build a chat bot or real-time backend on an event loop
- serve static files alongside dynamic routes in PHP
When to choose
- your PHP app is I/O-bound and needs high concurrency
- you want fiber-based async code instead of promise chains
- you need WebSockets or long-lived connections in PHP
- you want an application server without nginx/php-fpm request-per-process overhead
When to avoid
- your app relies heavily on blocking PHP built-in I/O functions
- you need a simple CRUD site better served by a traditional framework
- your team is unfamiliar with async/concurrency concepts
- you need CGI-style hosting on shared PHP environments
Facets
library · maturity stable
http-server websocket routing middleware static-site-generator web-development backend apis php cli cross-platform async event-driven non-blocking revolt fibers http2 tls composer amphp real-time
4 sources
- readme: https://github.com/amphp/http-server · fetched 2026-08-28 · 0595e3a0a9c3
- homepage: https://amphp.org/http-server · fetched 2026-08-29 · 5b328bf506fb
- site_page: https://amphp.org/installation · fetched 2026-08-29 · 41a9417c174e
- site_page: https://amphp.org/faq · fetched 2026-08-29 · 180e2ae49605
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| amphp/http-server | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="amphp/http-server")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem