amphp/amp
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...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/http | 0.92 | 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/dns | 0.90 | 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 | |
| amphp/http-server | 0.90 | 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,324 | 1,323 | 102 | 601K | 11 | 41.2 | 46.7 | MIT | 1 month ago | |
| amphp/parser | 0.89 | 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. | 150 | 150 | 4 | 3M | 1 | 1.9 | 55.2 | MIT | 2 years ago | |
| amphp/http-client | 0.87 | Asynchronous HTTP client for PHP built on Revolt with fibers and concurrency. Supports HTTP/1 & HTTP/2, concurrent requests, connection pooling, redirects, gzip/deflate decoding, streaming bodies, TLS by default, cookies/sessions, proxies, and custom methods—no ext/curl dependency. | 729 | 731 | 67 | 812K | 7 | 37.0 | 51.6 | MIT | 2 weeks ago | |
| amphp/websocket-server | 0.87 | 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 | 6K | 2 | 5.1 | 23.0 | MIT | 2 years ago | |
| amphp/file | 0.86 | 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 | 3 weeks ago | |
| amphp/process | 0.83 | 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. | 256 | 257 | 29 | 2M | 10 | 14.0 | 57.3 | MIT | 5 days ago | |
| amphp/sync | 0.83 | 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. | 190 | 188 | 12 | 2M | 0 | 5.4 | 55.3 | MIT | 1 year ago |
How can I help you explore Laravel packages today?