amphp/websocket-client
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.
|
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. | 125 | 125 | 17 | 6K | 2 | 5.1 | 23.4 | MIT | 2 years 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. | 394 | 393 | 28 | 3M | 2 | 12.3 | 54.5 | MIT | 1 year ago | |
| amphp/websocket | 0.89 | 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+). | 46 | 46 | 6 | 850K | 0 | 4.9 | 55.3 | MIT | 1 year ago | |
| amphp/dns | 0.88 | 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. | 194 | 194 | 29 | 3M | 6 | 12.5 | 56.4 | MIT | 1 year ago | |
| amphp/amp | 0.88 | 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,431 | 4,439 | 257 | 4M | 15 | 62.5 | 53.5 | MIT | 1 month 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 | 965 | 253 | 200K | 18 | 25.7 | 39.0 | NOASSERTION | 3 years ago | |
| amphp/socket | 0.83 | 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. | 267 | 267 | 37 | 3M | 6 | 29.3 | 64.2 | MIT | 2 months ago |
How can I help you explore Laravel packages today?