phrity/websocket
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-http/socket-client | 0.85 | PSR-7/PSR-18 HTTP client built on PHP streams. Supports TCP and UNIX domain sockets, TLS/SSL encryption, and client certificates. Lightweight, dependency-minimal option for making HTTP requests via socket connections. | 81 | 82 | 42 | 63K | 0 | 17.5 | 43.9 | MIT | 5 months ago | |
| beyondcode/laravel-websockets | 0.85 | — | 5,083 | 5,072 | 654 | 111K | 0 | 24.5 | 13.3 | MIT | 2 years ago | |
| cboden/ratchet | 0.85 | Ratchet is a PHP library for building asynchronous WebSocket servers. Compose apps from simple interfaces, reuse components, and deploy behind proxies or on ports 80/443. Includes docs and examples for chat-style real-time messaging. | 6,433 | 6,502 | 791 | 302K | 8 | 45.9 | 25.6 | MIT | 4 years ago | |
| textalk/websocket | 0.85 | 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 | |
| babdev/websocket-bundle | 0.85 | — | 6 | 6 | 2 | 4K | 0 | 0.2 | 37.8 | NOASSERTION | — | |
| btba/chat-bundle | 0.84 | Symfony bundle providing a simple chat service with configurable refresh interval and Doctrine entities for authors and messages. Install via Composer, register the bundle, add YAML config and routes, and extend base models to persist chat data. | 1 | 1 | 0 | 0 | 0 | 1.8 | 6.1 | MIT | — | |
| bugover/laravel-websocket | 0.84 | Fork of beyondcode/laravel-websockets bringing WebSockets to Laravel as a drop-in Pusher replacement. Supports SSL, Laravel Echo, and a debug dashboard, plus added connection events and two-way client-to-server messaging. | 3 | 3 | 0 | 2 | 0 | 7.8 | 2.4 | MIT | 1 year ago | |
| bordeux/websocket-bundle | 0.84 | — | 11 | 11 | 3 | 0 | 1 | 0.4 | — | — | 10 years ago | |
| codememory/ws-server-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 2 years ago | |
| cravler/faye-app-bundle | 0.84 | — | 1 | 1 | 0 | 1K | 0 | 0.0 | 39.3 | MIT | — | |
| spatie/simple-tcp-client | 0.84 | Simple TCP client for PHP/Laravel: connect to a host/port, send data, and receive responses with a clean API. Useful for interacting with TCP services (SMTP, HTTP, custom servers), testing network protocols, and building lightweight clients. | 39 | 39 | 2 | 1K | 0 | 15.9 | 23.9 | MIT | 4 months ago | |
| chrome-php/wrench | 0.84 | Simple PHP WebSocket library with server and client support. Create a BasicServer, register multiple apps per path, handle incoming data via interfaces, and send responses back to clients. Install via Composer; supports PHP 7.4–8.5. | 67 | 67 | 14 | 212K | 0 | 14.8 | 52.9 | MIT | 5 months ago | |
| phrity/net-stream | 0.83 | PSR-7 StreamInterface and PSR-17 StreamFactory implementations built for socket-based I/O. Includes Stream, SocketStream, SocketClient/Server, context wrapper, stream collections, and stream-specific exceptions and utilities for network connections. | 5 | 5 | 3 | 266K | 0 | 20.0 | 62.8 | MIT | 2 months ago | |
| drinksco/console-ui-bundle | 0.83 | — | 16 | 18 | 4 | 0 | 13 | 3.0 | 3.4 | BSD-3-Clause | 3 years ago | |
| babdev/websocket-server | 0.83 | — | 4 | 4 | 2 | 4K | 0 | 0.2 | 39.6 | NOASSERTION | — | |
| deuzu/request-collector-bundle | 0.83 | — | 7 | 7 | 1 | 0 | 1 | 0.4 | — | MIT | 9 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. | 266 | 266 | 37 | 3M | 6 | 30.9 | 64.8 | MIT | 1 month ago | |
| cravler/chat-bundle | 0.83 | — | 2 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| analogic/socket | 0.82 | 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.3 | — | — | 10 years ago | |
| workerman/workerman | 0.82 | Workerman is a high-performance, asynchronous, event-driven PHP framework for building scalable network servers. Supports HTTP, WebSocket, custom protocols, coroutines, and connection pools—ideal for high-concurrency, long-running applications on POSIX systems. | 11,546 | 11,592 | 2,257 | 81K | 94 | 88.8 | 44.7 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?