php-standard-library/async
Fiber-based async primitives for PHP: structured concurrency with cooperative multitasking. Run tasks concurrently, manage lifecycles, cancellations, and scopes predictably. Part of PHP Standard Library; docs and guides at php-standard-library.dev.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wyrihaximus/async-test-utilities | 0.90 | Async testing utilities for PHP/React: extend AsyncTestCase to run each PHPUnit test inside a Fiber with a default 30s timeout. Includes TimeOut attribute (class/method), plus helpers like random namespaces/directories and callable expectation utilities. | 4 | 4 | 0 | 21K | 1 | 27.7 | 57.8 | MIT | 1 month ago | |
| amphp/http-server | 0.90 | Non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for PHP 8.1+ built on Revolt and Amp (fibers). Includes TLS, middleware, gzip, and integrations for routing, static files, WebSockets, sessions, and more. | 1,324 | 1,323 | 102 | 601K | 11 | 41.2 | 46.7 | MIT | 1 month ago | |
| amphp/sql | 0.89 | Async SQL library for PHP built on Amp. Provides non-blocking database connections, query execution, and result handling with a consistent API, enabling high-concurrency apps without blocking I/O. Supports common drivers and integrates cleanly with event-loop workflows. | 20 | 20 | 5 | 33K | 1 | 15.3 | — | MIT | 3 months ago | |
| bodaclick/async-dispatcher-bundle | 0.87 | — | 0 | 2 | — | 0 | — | 0.0 | 5.9 | — | — | |
| bbit/async-dispatcher-bundle | 0.87 | — | 14 | 14 | 8 | 72 | 0 | 2.1 | 10.5 | — | 9 years ago | |
| php-standard-library/promise | 0.87 | Lightweight Promise implementation for PHP with a simple, standards-inspired API. Create, resolve, reject, and chain async-style operations, handle errors, and compose results with familiar then/catch patterns—ideal for libraries that need non-blocking workflows. | 1 | 1 | 0 | 29K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| spatie/async | 0.86 | Run PHP tasks in parallel with a simple Pool API built on PCNTL. Add closures, handle results via then/catch, and wait for completion. Ideal for speeding up batch jobs, CPU-heavy work, and IO-bound processing with multiple processes. | 0 | 2,826 | — | 175K | — | 42.2 | 27.9 | — | — | |
| bodaclick/async-event-dispatcher | 0.85 | Async event dispatcher for PHP inspired by Symfony. Add one or more drivers (listeners) and dispatch AsyncEventInterface events using a fire-and-forget pub/sub style. Includes RabbitMQ and file drivers, with an easy interface for custom drivers. | 0 | 4 | — | 0 | — | 0.2 | — | — | — | |
| amphp/http-client | 0.85 | Asynchronous HTTP client for PHP built on Revolt with fibers and concurrency. Supports HTTP/1 & HTTP/2, concurrent requests, connection pooling, redirects, gzip/deflate decoding, streaming bodies, TLS by default, cookies/sessions, proxies, and custom methods—no ext/curl dependency. | 729 | 731 | 67 | 812K | 7 | 37.0 | 51.6 | MIT | 2 weeks ago | |
| dlakomski/asynchronous-bundle | 0.85 | — | 0 | 0 | 0 | 382 | 0 | 0.0 | 35.9 | MIT | — | |
| async-aws/cloud-front | 0.85 | AsyncAws CloudFront Client is a lightweight PHP API client for AWS CloudFront. Install via Composer and use AsyncAws to create and manage CloudFront resources with typed requests and responses. Documentation and contribution guides available at async-aws.com. | 1 | 1 | 0 | 4K | 0 | 15.9 | 50.8 | MIT | 4 months ago | |
| enqueue/async-event-dispatcher | 0.85 | Symfony EventDispatcher extension that dispatches events asynchronously by sending them to a message queue, enabling background processing and improved responsiveness. Part of the Enqueue ecosystem; integrates with Symfony apps and supports MQ-driven event handling. | 69 | 69 | 7 | 14K | 0 | 1.2 | 31.7 | MIT | 8 years ago | |
| discord-php/http | 0.84 | Async PHP HTTP client for the Discord REST API (PHP 7.4+). Works with an event loop (e.g., React) and PSR-3 logging. Provides get/post/put/patch/delete plus queueRequest, returns decoded JSON promises, and includes Endpoint constants with bind() for rate-limit buckets. | 24 | 24 | 8 | 13K | 0 | 30.7 | 44.0 | MIT | 1 month ago | |
| aescarcha/async | 0.84 | Symfony bundle that listens to Doctrine entity lifecycle events (persist/update/remove) and publishes RabbitMQ jobs so heavy processing runs asynchronously. Configure via OldSoundRabbitMq and register the persist listener as consumer/event subscriber. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| workerman/coroutine | 0.84 | Workerman coroutine library providing lightweight concurrency tools for PHP: Coroutine, Channel, Barrier, Parallel, and Pool. Designed to simplify async workflows and coordinated task execution in Workerman-based applications. | 15 | 15 | 3 | 40K | 1 | 18.1 | 53.4 | MIT | 2 months ago | |
| danilovl/async-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 19.2 | — | MIT | 3 months ago | |
| desarrolla2/async-event-dispatcher-bundle | 0.83 | — | 0 | 0 | 0 | 293 | 0 | 0.0 | 24.1 | — | — | |
| nunomaduro/pokio | 0.83 | Pokio is a minimal async API for PHP. Run closures concurrently using PCNTL forking and shared-memory IPC via FFI, then await results like promises. Built for internal tooling/perf work (e.g., Pest). Not production-safe; use at your own risk. | 760 | 711 | 39 | 218K | 0 | 24.2 | 39.2 | MIT | 1 month ago | |
| internal/promise | 0.82 | Lightweight Promises/A implementation for PHP (fork of reactphp/promise). PHP 8.1+ compatible with strict types and improved type annotations. Drop-in replacement for react/promise v2/v3 with reusable rejection handling and safer defaults. | 53 | 53 | 1 | 154K | 0 | 9.1 | 51.0 | MIT | 7 months ago | |
| matthiasnoback/phpunit-asynchronicity | 0.82 | PHPUnit/Behat helper for testing asynchronous behavior. Provides assertEventually() to retry a callable until assertions pass or a timeout occurs—useful for waiting on files, processes, or UI updates, with configurable timeout and polling interval. | 36 | 36 | 7 | 8K | 0 | 3.7 | 32.1 | MIT | 2 years ago |
How can I help you explore Laravel packages today?