react/promise
Lightweight Promises/A implementation for PHP. Use Deferred/Promise to resolve or reject async results, chain with then/catch/finally, cancel when supported, and combine promises with helpers like resolve/reject, all, race, and any.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| clue/block-react | Lightweight bridge to run ReactPHP’s event loop in a blocking way. Lets you wait for promises and async operations from synchronous PHP code, ideal for CLI tools and scripts that need occasional async I/O without restructuring your whole app. | 156 | 154 | 16 | 11K | 1 | 24.7 | 30.3 | MIT | 4 years ago | |
| clue/buzz-react | Async HTTP client for ReactPHP built on Buzz: send concurrent requests, stream responses, and integrate with event-loop apps. Lightweight, promise-based API for non-blocking web calls in long-running CLI/daemon services. | 350 | — | 38 | — | 1 | 23.0 | — | MIT | 5 years ago | |
| clue/connection-manager-extra | Extra ReactPHP socket connector decorators that implement ConnectorInterface: retry/repeat, timeouts, delays, reject rules, swappable connectors, consecutive/random selection, concurrency limits, and selective routing for async connection management. | 22 | 22 | 4 | 170 | 0 | 25.0 | 15.0 | MIT | 3 years ago | |
| clue/http-proxy-react | Async HTTP proxy with support for forward and reverse proxying (including HTTPS via CONNECT), built on ReactPHP. Useful for tunneling, debugging and routing HTTP(S) traffic in event-driven PHP apps, with streaming I/O and low overhead. | 47 | 47 | 16 | 36K | 1 | 25.4 | 46.7 | MIT | 1 year ago | |
| clue/reactphp-ssh-proxy | Async SSH proxy connector/forwarder for ReactPHP. Tunnel any TCP/IP protocol (HTTP, SMTP, IMAP, databases) through an SSH server using the system ssh binary. Implements ReactPHP ConnectorInterface for drop-in use with existing clients. | 21 | 21 | 7 | 367 | 6 | 23.7 | 22.1 | MIT | 3 years ago | |
| clue/redis-react | Async Redis client for ReactPHP. Send commands in parallel with automatic pipelining and promise-based responses. Event-driven Pub/Sub support, lightweight SOLID design, and strong test coverage for Redis v2.6+. | 282 | 283 | 50 | 1M | 6 | 29.8 | 62.1 | MIT | 1 year ago | |
| clue/socks-react | Async SOCKS4/4a/5 proxy connector for ReactPHP. Route TCP connections through a SOCKS server with non-blocking I/O, supporting authentication and DNS resolving via the proxy. Integrates with React\Socket to proxy outgoing connections. | 117 | 118 | 26 | 9K | 0 | 28.3 | 31.0 | MIT | 3 years ago | |
| composer/composer | Composer is the de facto PHP dependency manager. Declare project requirements in composer.json, install/update packages from Packagist, and lock versions for reproducible builds. Supports private repositories and integrates with common VCS tools like Git. | 29,363 | 29,421 | 4,775 | 3M | 116 | 89.3 | 60.2 | MIT | 1 week ago | |
| discord-php/http | Async PHP HTTP client for the Discord REST API. Built for PHP 7.4+ with an event loop and PSR-3 logging. Supports common HTTP verbs, queued requests, JSON-decoded responses, and endpoint constants with parameter binding for correct rate-limit buckets. | 25 | 25 | 8 | 12K | 0 | 30.4 | 43.5 | MIT | 1 week ago | |
| internal/dload | DLoad is a PHP tool to download and manage binary artifacts (RoadRunner, Temporal, custom tools) for your projects. It automates installs, pins versions, handles cross-platform builds, and keeps binaries out of VCS via CLI and config. | 101 | 99 | 3 | 17K | 17 | 35.2 | 42.2 | BSD-3-Clause | 1 week ago | |
| laracord/framework | Laracord Framework is the core of Laracord, a Laravel-powered micro-framework for building Discord bots with DiscordPHP. Includes generators for commands/events, slash command sync, interaction routing, async services/tasks, optional HTTP server, and great logging. | 45 | 45 | 19 | 196 | 18 | 35.7 | 21.6 | MIT | 1 year ago | |
| laravel-workflow/laravel-workflow | Durable Workflow (formerly Laravel Workflow) lets you define reliable, long-running workflows and activities in Laravel. Run steps sequentially or in parallel, async via queues, with built-in retries, error handling, and monitoring—ideal for sagas, pipelines, and complex processes. | 1,180 | 1,183 | 64 | 62K | 1 | 40.6 | 28.1 | MIT | 4 days ago | |
| react/async | Async utilities and fibers for ReactPHP. Provides async/await-style control flow plus Promise combinators (delay, parallel, series, waterfall, coroutine) to simplify sequencing and coordination of non-blocking, event-loop driven operations. | 223 | 221 | 19 | 475K | 2 | 25.9 | 56.3 | MIT | 1 year ago | |
| react/cache | ReactPHP async cache component with Promise-based CacheInterface and an in-memory ArrayCache. Inspired by PSR-16 but designed for non-blocking apps. Supports get/set/delete, bulk operations, clear, has, and common fallback patterns. | 444 | 444 | 18 | 5M | 1 | 26.5 | 65.0 | MIT | 3 years ago | |
| react/datagram | Event-driven UDP datagram client/server for ReactPHP. Create UDP sockets, send and receive messages asynchronously with an API modeled after Node.js dgram. Works across platforms with no required PHP extensions; supports PHP 5.3+ (PHP 7+ recommended). | 99 | 99 | 27 | 29K | 1 | 25.4 | 40.0 | MIT | 1 year ago | |
| react/dns | Async DNS resolver for ReactPHP. Provides non-blocking hostname lookups with a simple ResolverInterface, optional caching, and advanced UDP/TCP transports and hosts file support. Also includes tools for working with DNS messages and building DNS servers. | 535 | 536 | 62 | 5M | 7 | 36.3 | 70.8 | MIT | 4 months ago | |
| react/http | Event-driven, streaming HTTP client and server for ReactPHP. Send many concurrent async HTTP/HTTPS requests, handle redirects/timeouts/auth, and stream request/response bodies. Build plain HTTP or secure HTTPS servers on ReactPHP Socket and EventLoop. | 781 | 790 | 167 | 399K | 14 | 43.0 | 53.9 | MIT | 1 year ago | |
| react/http-client | Deprecated ReactPHP streaming, event-driven HTTP client kept for BC. Development moved to react/http with a new Promise-based, PSR-7 Browser API. Upgrade recommended; see react/http for current client usage and features. | 228 | 234 | 61 | 46K | 1 | 32.1 | 37.4 | MIT | 5 years ago | |
| react/mysql | Async MySQL client for ReactPHP. Pure PHP implementation of the MySQL protocol with no extensions required. Connect via URI, run queries with promises, stream results, and manage connection lifecycle (ping/quit/close). | 337 | 340 | 71 | 10K | 15 | 34.0 | 33.1 | MIT | 2 years ago | |
| react/promise-stream | ReactPHP helper functions bridging promises and streams. Buffer an entire readable stream into a promise, get the first chunk, collect all chunks, or unwrap promises to readable/writable streams with proper error, cancel, and max-length handling. | 115 | 116 | 14 | 87K | 1 | 24.7 | 46.7 | MIT | 2 years ago | |
| react/promise-timer | Add timeouts and sleep delays to ReactPHP promises. Wrap any pending operation to auto-cancel and reject with a TimeoutException if it doesn’t settle in time, or pass through resolve/reject when it does. Lightweight, function-based API. | 341 | 344 | 17 | 2M | 1 | 26.8 | 59.3 | MIT | 1 year ago | |
| react/socket | Async TCP/IP and TLS socket servers and clients for ReactPHP. Provides streaming, non-blocking connections built on EventLoop and Stream, with reusable interfaces and helpers for TCP, Unix sockets, secure servers, and connectors. | 1,284 | 1,306 | 158 | 5M | 6 | 42.2 | 62.2 | MIT | 4 months ago | |
| spatie/flare-daemon | — | 0 | 0 | 0 | 1 | 0 | 20.4 | 4.9 | MIT | 1 day ago | |
| spatie/twitter-labs | ReactPHP-powered PHP client for Twitter Developer Labs realtime endpoints, focused on the new filtered stream API as legacy streaming is deprecated. Works without deep React knowledge but integrates with event loops; easy migration from spatie/twitter-streaming-api. | 40 | 40 | 6 | 0 | 0 | 21.6 | — | MIT | 5 years ago | |
| team-reflex/discord-php | DiscordPHP is a PHP wrapper for Discord’s REST, Gateway, and Voice APIs. Build Discord bots and integrations in CLI using an event-driven approach (ReactPHP). Includes guides and class reference; community Laravel integration available via Laracord. | 1,066 | 1,067 | 252 | 13K | 6 | 47.6 | 23.4 | MIT | 2 days ago | |
| veewee/composer-run-parallel | Run Composer scripts in parallel to speed up builds. composer-run-parallel executes multiple commands concurrently, with clear output and proper exit codes—great for CI pipelines, monorepos, and large projects where sequential scripts are too slow. | 91 | 91 | 4 | 21K | 0 | 22.7 | 38.3 | MIT | 5 months ago | |
| webonyx/graphql-php | PHP implementation of the GraphQL specification, based on graphql-js. Build schemas, types, and execute queries/mutations in your PHP apps. Widely used, well-tested, and documented with examples and class reference. | 4,707 | 4,730 | 572 | 2M | 36 | 81.3 | 65.0 | MIT | 1 week ago | |
| wyrihaximus/async-test-utilities | Async test utilities for PHP/React tests. Extend AsyncTestCase to run each test inside a Fiber, get random namespaces/directories for filesystem tests, and control per-test or per-class timeouts via the TimeOut attribute (default 30s). | 4 | 4 | 0 | 13K | 1 | 29.5 | 55.3 | MIT | 4 days ago | |
| wyrihaximus/react-cache-redis | Redis-backed cache adapter for ReactPHP implementing the react/cache interface. Built on clue/reactphp-redis, supports key prefixing, and integrates with async React event loops for fast, non-blocking caching in your applications. | 11 | 11 | 6 | 66 | 1 | 24.0 | 13.2 | MIT | 11 months ago | |
| wyrihaximus/react-phpunit-run-tests-in-fiber | PHPUnit trait to run each test inside a PHP Fiber, making it easy to use ReactPHP async/await in tests. Includes optional per-test or per-class timeout attributes to fail slow tests (without stopping the running fiber). | 0 | 0 | 0 | 16K | 1 | 21.6 | 65.9 | MIT | 11 months ago |
How can I help you explore Laravel packages today?