amphp/amp
A non-blocking concurrency framework for PHP applications. 🐘 observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 94
- Release rhythm 71
- 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: 124.0
- age_days: 4776
- days_rel: 38
- days_push: 38
- n_releases_24m: 5
Adoption not part of the score
4432 stars · 257 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
amphp/amp is the core library of the AMPHP ecosystem, providing futures, coroutines, and cancellation primitives for non-blocking, event-driven concurrency in PHP. It builds on PHP 8.1 fibers and the Revolt event loop, letting developers write asynchronous code that reads like synchronous code.
Use cases
- run multiple HTTP requests concurrently in PHP
- make non-blocking database queries in PHP
- write async PHP without callbacks or promise chains
- build WebSocket servers or chat bots in PHP
- parallelize I/O-bound tasks in a PHP CLI script
- cancel long-running async operations in PHP
When to choose
- you have I/O-bound PHP workloads that benefit from concurrency
- you want fiber-based async code that looks synchronous
- you're building on the AMPHP or Revolt ecosystem of packages
- you need futures and structured cancellation primitives
When to avoid
- your workload is CPU-bound rather than I/O-bound
- you're stuck on PHP versions older than 8.1
- your app is simple and blocking I/O causes no performance issues
- you need true parallelism across CPU cores (consider amphp/parallel or threads)
Facets
library · maturity stable
concurrency http-client websocket middleware web-development backend developer-tools networking php cli cross-platform async fibers coroutines futures event-loop non-blocking-io revolt cancellation web-server
5 sources
- readme: https://github.com/amphp/amp · fetched 2026-08-28 · 6cb88ccdb138
- homepage: https://amphp.org/amp · fetched 2026-08-29 · 1d72cc1978c9
- site_page: https://amphp.org/installation · fetched 2026-08-29 · 41a9417c174e
- site_page: https://v3.amphp.org/installation · fetched 2026-08-29 · 85f9721f7d69
- site_page: https://amphp.org/faq · fetched 2026-08-29 · 180e2ae49605
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| amphp/amp | main | 87 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem