php-standard-library/promise
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| react/promise-stream | 0.89 | 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 | 95K | 1 | 4.7 | 40.2 | MIT | 2 years ago | |
| php-standard-library/async | 0.88 | 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. | 2 | 2 | 0 | 110K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| internal/promise | 0.88 | 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 | 54 | 1 | 240K | 0 | 0.9 | 50.4 | MIT | 1 year ago | |
| php-standard-library/io | 0.87 | Handle-based I/O abstractions for PHP from the Standard Library, offering composable, testable, and async-ready streams and readers/writers for building flexible input/output pipelines. | 1 | 1 | 0 | 107K | 0 | 21.5 | 64.9 | MIT | 1 week ago | |
| php-standard-library/fun | 0.87 | Functional programming utilities for PHP: compose and decorate functions, control execution, and build pipelines with small, reusable higher-order helpers. | 1 | 1 | 0 | 28K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| php-standard-library/foundation | 0.87 | Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... | 1 | 1 | 0 | 105K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| php-http/promise | 0.87 | Common Promise implementation for PHP-HTTP clients. Provides a lightweight, interoperable way to handle async HTTP responses with then/catch chaining, wait/cancel support, and consistent behavior across multiple HTTP client adapters and PSR-7 message workflows. | 1,799 | 1,816 | 13 | 7M | 1 | 12.2 | 50.4 | MIT | 2 years ago | |
| react/promise | 0.87 | 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. | 2,458 | 2,474 | 149 | 13M | 0 | 25.8 | 51.7 | MIT | 1 year ago | |
| php-standard-library/comparison | 0.87 | Interfaces and functions for type-safe, consistent value comparison in PHP, part of the PHP Standard Library. Provides predictable equality and ordering semantics across values, helping you write reliable, uniform comparison logic in your applications. | 1 | 1 | 0 | 90K | 0 | 21.5 | 64.8 | MIT | 1 week ago | |
| php-standard-library/default | 0.86 | DefaultInterface for PHP classes to provide standardized default instances. Part of the PHP Standard Library, it gives a consistent contract for exposing a default object instance without custom static factory methods or ad hoc conventions. | 1 | 1 | 0 | 119K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| php-standard-library/channel | 0.86 | Message-passing channels for async communication in PHP, inspired by Go and Rust. This package brings typed, concurrent channel primitives to the PHP Standard Library, enabling clean producer/consumer workflows. | 1 | 1 | 0 | 105K | 0 | 21.7 | 65.0 | MIT | 1 week ago | |
| php-standard-library/process | 0.86 | Typed, non-blocking PHP API for spawning, monitoring, and controlling child processes. Manage stdin/stdout/stderr streams, retrieve exit codes, and handle timeouts and signals with a clean, reliable interface for long-running and parallel tasks. | 0 | 0 | 0 | 12K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| react/promise-timer | 0.86 | 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 | 3M | 1 | 6.8 | 54.7 | MIT | 2 years ago | |
| php-standard-library/file | 0.86 | Typed file handles for safe reading and writing in PHP, with explicit write modes and advisory file locking. Part of PHP Standard Library, designed to make filesystem IO clearer and less error-prone. | 1 | 1 | 0 | 102K | 0 | 21.5 | 64.9 | MIT | 1 week ago | |
| windwalker/promise | 0.85 | Windwalker Promise is a PHP library for asynchronous-style control flow, offering promises, deferreds, and helpers to chain callbacks, handle resolution and rejection, and orchestrate non-blocking tasks more cleanly in PHP applications. | 0 | 0 | 0 | 200 | 0 | 0.0 | 31.8 | — | — | |
| php-standard-library/math | 0.85 | Strictly typed math utilities for PHP with predictable, consistent error handling. Part of the PHP Standard Library project, providing reliable mathematical functions and a stable developer experience for safer numeric operations. | 1 | 1 | 0 | 20K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| krlove/async-service-call-bundle | 0.85 | A Symfony bundle for running service calls asynchronously, letting you defer heavy work to background processes and return control immediately. Useful for improving response times when handling slow tasks like emails, API calls, or reports without blocking the request. | 0 | 11 | — | 82 | — | 0.0 | 26.5 | — | — | |
| php-standard-library/php-standard-library | 0.85 | A standard library for PHP 8.4+ inspired by hhvm/hsl, offering consistent, well-typed APIs for async, collections, networking, I/O, cryptography, and terminal UI, replacing PHP primitives with safer, async-ready alternatives that error predictably. | 1,569 | 1,562 | 94 | 305K | 22 | 47.5 | 46.5 | MIT | 1 week ago | |
| php-standard-library/type | 0.85 | Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. | 1 | 1 | 0 | 114K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| webmozarts/console-parallelization | 0.85 | Parallelize Symfony Console commands using multiple processes. A main process distributes items to child workers, restarts workers after segments to avoid slowdown, and supports batching with hooks for setup/teardown (e.g., DB flush) for faster bulk jobs. | 227 | 227 | 20 | 76K | 8 | 13.1 | 39.4 | MIT | 1 year ago |
How can I help you explore Laravel packages today?