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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/http-server-static-content | 0.92 | AMPHP HTTP server component for efficiently serving static files (assets, downloads) with correct MIME types, caching headers, range requests, and directory handling. Designed for non-blocking, event-driven apps built on amphp/http-server. | 21 | 21 | 12 | 2K | 1 | 24.2 | 30.0 | MIT | 2 years ago | |
| amphp/cache | 0.90 | 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. | 127 | 127 | 16 | 2M | 0 | 25.7 | 65.0 | MIT | 1 year ago | |
| amphp/parser | 0.90 | Streaming parser helper for AMPHP: build incremental, generator-based parsers for line-, delimiter-, or length-based protocols. Feed data via Parser::push(); yield a delimiter string, byte length, or null to flush/await more input. PHP 7.4+ compatible. | 149 | 149 | 4 | 2M | 1 | 21.9 | 65.0 | MIT | 2 years ago | |
| amphp/websocket-client | 0.89 | Async WebSocket client for PHP built on Amp. Connect to ws/wss endpoints with fiber-friendly concurrency, consume realtime APIs, test WebSocket servers, and support custom handshakes, headers, heartbeats, and rate limits. | 161 | 163 | 16 | 517K | 6 | 28.0 | 58.7 | MIT | 7 months ago | |
| amphp/parallel | 0.89 | True parallel processing for PHP with Amp: run blocking tasks in worker processes or threads without blocking the event loop and without extra extensions. Includes non-blocking concurrency tools and a worker pool API for submitting tasks and collecting results. | 847 | 854 | 68 | 2M | 21 | 41.8 | 63.5 | MIT | 4 months ago | |
| amphp/socket | 0.88 | Non-blocking, event-driven socket library for PHP using Amp. Provides async TCP/UDP sockets, client/server connections, DNS and TLS support, timeouts, cancellation, and backpressure-friendly streams—ideal for high-concurrency network services and daemons. | 264 | 264 | 37 | 2M | 7 | 33.5 | 66.0 | MIT | 1 year ago | |
| amphp/pipeline | 0.87 | Fiber-safe concurrent iterators and collection operators for AMPHP. Build pipelines from iterables or async sources, then consume them safely from multiple fibers via foreach or manual iteration, with backpressure-friendly async iteration on PHP 8.1+. | 74 | 74 | 6 | 2M | 2 | 25.0 | 65.5 | MIT | 1 year ago | |
| amphp/amp | 0.86 | 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,410 | 4,422 | 258 | 3M | 15 | 63.4 | 53.0 | MIT | 7 months ago | |
| amphp/websocket-server | 0.86 | Async WebSocket server for PHP built on Amp’s event-driven concurrency. Handles upgrades, connections, message streaming, backpressure and graceful shutdown, making it easy to build real-time apps like chat, dashboards and live notifications. | 124 | 124 | 17 | 5K | 4 | 25.7 | 27.6 | MIT | 2 years ago | |
| react/stream | 0.85 | Event-driven readable and writable streams for non-blocking I/O in ReactPHP. Process large data in small chunks with async-friendly stream interfaces and resource-based streams, with support for piping, backpressure, errors, and duplex streams. | 688 | 691 | 63 | 5M | 1 | 34.8 | 64.6 | MIT | 1 year ago | |
| amphp/file | 0.82 | 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 | 36K | 6 | 32.2 | 43.4 | MIT | 1 year ago | |
| amphp/http | 0.82 | 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. | 101 | 101 | 10 | 698K | 1 | 28.0 | 62.8 | MIT | 1 year ago |
How can I help you explore Laravel packages today?