amphp/websocket
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+).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/websocket-server | 0.90 | 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 | 22.9 | MIT | 2 years ago | |
| amphp/websocket-client | 0.87 | 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. | 162 | 164 | 16 | 671K | 6 | 12.5 | 53.1 | MIT | 9 months ago | |
| amphp/socket | 0.87 | Async, non-blocking socket library for AMPHP. Provides client/server abstractions over TCP, UDP, and Unix domain sockets with DNS resolution, retries, connect timeouts, cancellation, and optional TLS encryption. Implements ReadableStream/WritableStream. | 265 | 265 | 37 | 2M | 6 | 32.1 | 64.7 | MIT | 1 month ago | |
| amphp/http | 0.86 | 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 | |
| babdev/websocket-server | 0.85 | — | 4 | 4 | 2 | 4K | 0 | 0.1 | 39.5 | NOASSERTION | — | |
| analogic/socket | 0.85 | Analogic Socket is a PHP package for building lightweight TCP/UDP socket clients and servers. It provides simple APIs for connecting, sending/receiving data, and handling basic networking workflows without pulling in a full framework. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | 10 years ago | |
| amphp/amp | 0.84 | 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 | |
| textalk/websocket | 0.84 | Archived, unmaintained WebSocket client and rudimentary single-connection server for PHP. Provides low-level read/write over WebSocket streams with handshake, close, and ping/pong support. No listeners, threading, or request association. | 931 | 970 | 254 | 197K | 18 | 25.7 | 38.9 | NOASSERTION | 3 years ago | |
| phrity/websocket | 0.83 | PHP WebSocket client and multi-connection server with ws/wss support. Includes listener callbacks, standard Close and Ping/Pong handling, optional deflate compression, fragmentation and masking support, plus middleware system for extending behavior. | 216 | 217 | 23 | 258K | 1 | 30.0 | 49.7 | NOASSERTION | 3 weeks ago | |
| amphp/dns | 0.82 | 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 |
How can I help you explore Laravel packages today?