amphp/sync
Async synchronization primitives for Amp PHP: mutexes, semaphores, locks, and a synchronized helper. Coordinate concurrent fibers, ensure mutual exclusion, and cap parallel work (e.g., limit HTTP requests) with simple, safe abstractions.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/http | 0.84 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 103 | 103 | 10 | 895K | 1 | 8.0 | 54.7 | MIT | 1 year ago | |
| amphp/parallel | 0.82 | True parallel processing for PHP with AMPHP: run blocking work in worker processes or threads without blocking the event loop and without extensions. Includes non-blocking concurrency tools plus an opinionated worker pool API for submitting tasks and awaiting results. | 850 | 857 | 68 | 2M | 20 | 41.1 | 60.5 | MIT | 3 weeks ago | |
| amphp/pipeline | 0.81 | Fiber-safe concurrent iterators and collection operators for PHP 8.1+ using AMPHP. Build pipelines from iterables and consume them safely from multiple fibers with foreach or manual iteration, supporting async sets and concurrent processing. | 76 | 74 | 6 | 2M | 2 | 24.1 | 64.4 | MIT | 4 weeks ago | |
| amphp/amp | 0.80 | AMPHP (AMP) accelerates PHP concurrency with fibers, eliminating callbacks and generators. Built on PHP 8.1’s cooperative coroutines, it lets you run async tasks like sync code—ideal for I/O-bound apps. Use Amp\async() for parallel execution and Future::await() to handle results seamlessly. No event... | 4,416 | 4,431 | 258 | 3M | 15 | 48.4 | 46.9 | MIT | 9 months ago | |
| amphp/byte-stream | 0.80 | Event-driven byte stream abstractions for PHP 8.1+ in the AMPHP ecosystem. Provides ReadableStream/WritableStream interfaces plus implementations like Payload, buffers, resource/iterable streams, stream chaining, base64 encode/decode, and decompression for fiber-friendly I/O. | 393 | 392 | 28 | 3M | 2 | 12.3 | 54.0 | MIT | 1 year ago | |
| amphp/file | 0.74 | Non-blocking file I/O for PHP 8.1+ in the AMPHP ecosystem. Read/write files or stream via async file handles while keeping apps responsive. Uses multi-process by default, with optional eio/uv/parallel drivers when available. | 110 | 111 | 27 | 42K | 6 | 31.5 | 44.0 | MIT | 4 weeks ago | |
| amphp/dns | 0.73 | Async DNS resolver for PHP built on Amp. Provides non-blocking hostname lookups, record queries, caching and timeouts with an event loop, ideal for high-concurrency applications and CLI tools needing fast, reliable DNS without blocking I/O. | 192 | 193 | 30 | 2M | 6 | 12.5 | 56.4 | MIT | 1 year ago | |
| patchwork/jsqueeze | 0.71 | PHP JavaScript minifier that removes whitespace/comments, mangles local vars, and preserves important/conditional comments. Works on semicolon-free, parse-error-free JS; compression comparable to YUI Compressor/UglifyJS. Single class, Composer install. | 163 | 158 | 36 | 34K | 10 | 2.4 | 24.3 | Apache-2.0 | — |
How can I help you explore Laravel packages today?