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
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/byte-stream | 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. | 394 | 393 | 28 | 3M | 2 | 12.3 | 54.5 | MIT | 1 year ago | |
| amphp/cache | Non-blocking cache library for Amp-based PHP apps. Provides async cache interfaces and adapters (e.g., in-memory, filesystem, Redis) with TTL support, atomic operations, and PSR-style ergonomics for high-concurrency services. | 130 | 129 | 15 | 3M | 0 | 5.7 | 55.3 | MIT | 2 years ago | |
| amphp/file | 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 | 39K | 6 | 29.4 | 42.9 | MIT | 2 months ago | |
| amphp/http-client | Asynchronous HTTP client for PHP built on Revolt and fibers. Supports HTTP/1 & HTTP/2, concurrent requests, connection pooling, redirects, gzip/deflate, streaming bodies, TLS by default, forms, cookies, and proxies—no ext/curl dependency. | 730 | 731 | 67 | 958K | 7 | 34.8 | 51.9 | MIT | 2 months ago | |
| amphp/http-server | 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,325 | 1,325 | 102 | 919K | 11 | 41.6 | 49.7 | MIT | 3 weeks ago | |
| amphp/parallel | True parallel processing for PHP with AMPHP: run blocking tasks in worker processes or threads without blocking the event loop. Provides non-blocking concurrency tools and an easy worker pool API for distributing work; no extensions required (threads optional). | 854 | 859 | 68 | 2M | 20 | 38.3 | 59.1 | MIT | 2 months ago | |
| amphp/parallel-functions | Wrap callables to run in parallel processes/threads with AMPHP. Provides helpers like parallelMap to execute CPU-heavy or blocking tasks concurrently; callable state must be serializable. Built for PHP 8.1+ with fibers-friendly concurrency. | 279 | 280 | 18 | 102K | 4 | 5.0 | 36.0 | MIT | 2 years ago | |
| amphp/process | Asynchronous process dispatcher for PHP (AMPHP) built for fibers and concurrency. Start and manage child processes cross-platform, stream stdout/stderr without blocking, set working directory and environment variables, powered by the Revolt event loop and Windows wrapper. | 258 | 257 | 28 | 2M | 10 | 31.7 | 66.1 | MIT | 1 month ago | |
| m2mtech/flysystem-stream-wrapper | Adds a PHP stream wrapper for Flysystem v2/v3 so you can use fly:// paths with native file functions (file_put_contents, mkdir, etc.). Includes Symfony Lock-based locking plus options to ignore visibility errors and emulate dir metadata. | 19 | 19 | 14 | 7K | 0 | 5.2 | 37.2 | MIT | 1 year ago |
How can I help you explore Laravel packages today?