amphp/socket
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/http-server-static-content | 0.91 | 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/http | 0.90 | 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 | |
| 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 | 191 | 30 | 2M | 6 | 32.5 | 66.8 | MIT | 1 year ago | |
| amphp/http-server | 0.89 | Asynchronous, non-blocking HTTP server for PHP built on Amp. Create high-performance web apps and APIs with event-driven I/O, middleware, routing, and streaming request/response bodies. Includes HTTP/1.1 and HTTP/2 support and TLS integration. | 1,327 | 1,327 | 101 | 550K | 17 | 43.7 | 49.7 | MIT | 2 months ago | |
| amphp/byte-stream | 0.89 | 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. | 392 | 391 | 28 | 3M | 2 | 32.3 | 62.9 | MIT | 1 year ago | |
| amphp/http-tunnel | 0.89 | AMPHP HTTP Tunnel provides asynchronous HTTP tunneling for PHP using Amp, enabling CONNECT-based proxy tunneling and transparent TCP-over-HTTP streams. Useful for building clients that need to reach services through HTTP proxies with non-blocking I/O. | 13 | 13 | 3 | 34K | 1 | 21.5 | 55.0 | MIT | 1 year ago | |
| amphp/websocket | 0.88 | Shared WebSocket components for AMPHP’s event-driven, fiber-based concurrency stack. Provides core abstractions used by amphp/websocket-server and amphp/websocket-client to build fast, non-blocking WebSocket clients and servers (PHP 8.1+). | 45 | 45 | 6 | 515K | 0 | 24.9 | 65.0 | MIT | 1 year ago | |
| amphp/websocket-client | 0.86 | 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/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 | |
| amphp/amp | 0.82 | 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/http-client | 0.81 | Async HTTP client for PHP built on Amp. Send concurrent requests with connection pooling, timeouts, redirects, proxies, TLS support, and streaming request/response bodies. Includes PSR-7/PSR-18 integration and middleware-style interceptors. | 728 | 730 | 66 | 663K | 11 | 38.1 | 53.5 | MIT | 7 months ago | |
| react/socket | 0.79 | Async TCP/IP and TLS socket servers and clients for ReactPHP. Provides streaming, non-blocking connections built on EventLoop and Stream, with reusable interfaces and helpers for TCP, Unix sockets, secure servers, and connectors. | 1,284 | 1,306 | 158 | 5M | 6 | 42.2 | 62.2 | MIT | 4 months ago |
How can I help you explore Laravel packages today?