PHP Async

Open-source PHP projects categorized as Async

Top 23 PHP Async Projects

  1. Ratchet

    Asynchronous WebSocket server (by ratchetphp)

    Project mention: Build Real-Time AI Voice Transcription for Web Meetings Fast | dev.to | 2026-03-24

    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.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Amp

    A non-blocking concurrency framework for PHP applications. 🐘

    Project mention: Parallel Branches in Neuron AI Workflow | dev.to | 2026-05-05

    If you want the branches to actually run at the same time, you need the AsyncExecutor, which is built on Amp:

  4. LaravelS

    LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

  5. MadelineProto

    Async PHP client API for the telegram MTProto protocol

  6. async

    Easily run code asynchronously (by spatie)

  7. php-standard-library

    PHP Standard Library

    Project mention: Mago: A fast PHP toolchain written in Rust | news.ycombinator.com | 2025-09-13

    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/

  8. Restler

    Zero-boilerplate REST API framework for PHP 8+. Auto-generates routes, docs, validation.

  9. http-server

    An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands. (by amphp)

  10. yii2-queue

    Yii2 Queue Extension. Supports DB, Redis, RabbitMQ, Beanstalk and Gearman

  11. fork

    A lightweight solution for running code concurrently in PHP

  12. 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

  13. Recoil

    Asynchronous coroutines for PHP 7. (by recoilphp)

  14. http-client

    An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses. (by amphp)

  15. Pawl

    Asynchronous WebSocket client

  16. AsyncAWS

    AWS SDK with readable code and async responses

  17. PHP-watcher

    Monitor for any changes in your php application and automatically restart it (suitable for async apps).

  18. ByteStream

    A non-blocking stream abstraction for PHP based on Amp.

  19. 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-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.

  20. TelegramRSS

    Convert telegram posts to RSS or json in amphp server

  21. php-async

    The heart of asynchronous PHP, delivered as a core extension and implementing the TrueAsync ABI. (by true-async)

    Project mention: Ask HN: What Are You Working On? (April 2026) | news.ycombinator.com | 2026-04-14
  22. postgres

    Async Postgres client for PHP based on Amp. (by amphp)

    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.

  23. coroutine

    Cooperative multitasking using generators. The basics of coroutines, async and await! (by symplely)

  24. 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)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Async discussion

Log in or Post with

PHP Async related posts

  • PHP async: event loop, Fibers and the limits of single-threading

    3 projects | dev.to | 13 May 2026
  • Introducing Fetch PHP 3.0: JavaScript-like HTTP Requests for Modern PHP Applications

    1 project | dev.to | 4 May 2025
  • Amphp 3.0.0

    1 project | news.ycombinator.com | 3 Jan 2023
  • Is it possible that PHP will ever get async/await functions?

    9 projects | /r/PHP | 27 Oct 2022
  • Passing objects or arrays to Svelte Components in ASP.NET MVC

    1 project | /r/sveltejs | 27 Aug 2022
  • Handling big API request (2.5gb) without timeout

    2 projects | dev.to | 25 Aug 2022
  • A simple PHP class to perform basic operations against Amazon S3 and compatible services.

    2 projects | /r/PHP | 9 Aug 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that PHP is
the 14th most popular programming language
based on number of references?