SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 PHP Async Projects
-
For Laravel/PHP backends, use Ratchet or delegate the WebSocket relay to a small Node.js sidecar. PHP's blocking I/O model makes it genuinely ill-suited for sustained bidirectional streaming — don't fight it. I've seen teams spend weeks trying to make it work before giving up and spinning up a tiny Node service that took an afternoon.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
If you want the branches to actually run at the same time, you need the AsyncExecutor, which is built on Amp:
-
-
-
-
Mago author here.
The online playground is running a very old version (~0.20.0 from months ago, which did not even have a static analyzer) and gives a poor impression of the current tool. That's on me to fix or take down.
The issue you saw with built-in classes like `RuntimeException` was absolutely a bug in those early alpha versions, but it has been fixed for a long time now. The analyzer has matured a lot since then.
The current beta is stable enough to be the sole static analysis tool for a couple of extremely well-typed projects:
- https://github.com/azjezz/psl/
-
-
http-server
An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands. (by amphp)
-
-
-
AdapterMan
Boost the performance of nearly any PHP app effortlessly with Workerman, enabling faster and asynchronous execution—all without modifying a single line of code in your framework or app. Additionally, leverage Workerman as a powerful Serverless solution for scalable, event-driven workloads. It's lightweight design and high efficiency
-
-
http-client
An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses. (by amphp)
-
-
-
PHP-watcher
Monitor for any changes in your php application and automatically restart it (suitable for async apps).
-
-
mysql
An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications. (by amphp)
Project mention: PHP async: event loop, Fibers and the limits of single-threading | dev.to | 2026-05-13The database case is more nuanced. PDO, PHP's default driver, is entirely blocking: a SQL query blocks the thread until the response. With ReactPHP or Amp, using PDO inside a Fiber cancels all the benefit — the Fiber blocks like classic synchronous code. You need native async drivers: amphp/mysql or amphp/postgres for PostgreSQL. Adoption of these drivers is still limited, which makes the Amp + PostgreSQL stack less natural than its Node.js equivalent.
-
-
php-async
The heart of asynchronous PHP, delivered as a core extension and implementing the TrueAsync ABI. (by true-async)
-
Project mention: PHP async: event loop, Fibers and the limits of single-threading | dev.to | 2026-05-13
The database case is more nuanced. PDO, PHP's default driver, is entirely blocking: a SQL query blocks the thread until the response. With ReactPHP or Amp, using PDO inside a Fiber cancels all the benefit — the Fiber blocks like classic synchronous code. You need native async drivers: amphp/mysql or amphp/postgres for PostgreSQL. Adoption of these drivers is still limited, which makes the Amp + PostgreSQL stack less natural than its Node.js equivalent.
-
coroutine
Cooperative multitasking using generators. The basics of coroutines, async and await! (by symplely)
-
matrix
⚛︎ Bringing JavaScript-style async to PHP! Manage asynchronous tasks with ease using a modern, fiber-powered API for seamless concurrency and error handling. (by Thavarshan)
PHP Async discussion
PHP Async related posts
-
PHP async: event loop, Fibers and the limits of single-threading
-
Introducing Fetch PHP 3.0: JavaScript-like HTTP Requests for Modern PHP Applications
-
Amphp 3.0.0
-
Is it possible that PHP will ever get async/await functions?
-
Passing objects or arrays to Svelte Components in ASP.NET MVC
-
Handling big API request (2.5gb) without timeout
-
A simple PHP class to perform basic operations against Amazon S3 and compatible services.
-
A note from our sponsor - SaaSHub
www.saashub.com | 9 Jun 2026
Index
What are some of the best open-source Async projects in PHP? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | Ratchet | 6,427 |
| 2 | Amp | 4,416 |
| 3 | LaravelS | 3,882 |
| 4 | MadelineProto | 3,440 |
| 5 | async | 2,811 |
| 6 | php-standard-library | 1,545 |
| 7 | Restler | 1,380 |
| 8 | http-server | 1,323 |
| 9 | yii2-queue | 1,066 |
| 10 | fork | 1,040 |
| 11 | AdapterMan | 856 |
| 12 | Recoil | 789 |
| 13 | http-client | 729 |
| 14 | Pawl | 614 |
| 15 | AsyncAWS | 477 |
| 16 | PHP-watcher | 394 |
| 17 | ByteStream | 391 |
| 18 | mysql | 376 |
| 19 | TelegramRSS | 296 |
| 20 | php-async | 251 |
| 21 | postgres | 107 |
| 22 | coroutine | 61 |
| 23 | matrix | 60 |