amphp/socket
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/http | 0.88 | 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 | |
| php-http/socket-client | 0.86 | 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 | 18.8 | 44.2 | MIT | 4 months ago | |
| analogic/socket | 0.86 | 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/websocket | 0.85 | 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+). | 0 | 46 | — | 683K | — | 4.9 | 55.3 | — | — | |
| amphp/http-server | 0.85 | 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 | |
| react/socket | 0.85 | 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 | 6M | 6 | 31.6 | 58.8 | MIT | 6 months ago | |
| amphp/websocket-server | 0.84 | 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 | |
| phrity/websocket | 0.84 | 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 | |
| babdev/websocket-bundle | 0.83 | — | 6 | 6 | 2 | 4K | 0 | 0.1 | 37.4 | NOASSERTION | — | |
| amphp/websocket-client | 0.83 | 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 | |
| bordeux/websocket-bundle | 0.83 | — | 11 | 11 | 3 | 0 | 1 | 0.4 | — | — | 10 years ago | |
| textalk/websocket | 0.82 | 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/net-stream | 0.82 | 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 | 21.2 | 63.3 | MIT | 2 months ago | |
| amphp/sql | 0.81 | Async SQL library for PHP built on Amp. Provides non-blocking database connections, query execution, and result handling with a consistent API, enabling high-concurrency apps without blocking I/O. Supports common drivers and integrates cleanly with event-loop workflows. | 20 | 20 | 5 | 33K | 1 | 15.3 | — | MIT | 3 months ago | |
| codememory/ws-server-bundle | 0.81 | — | 0 | 0 | — | 0 | — | 0.6 | — | — | — | |
| amphp/http-client | 0.81 | 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 | 3 weeks ago | |
| btba/chat-bundle | 0.80 | 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 | — | |
| babdev/websocket-server | 0.80 | — | 4 | 4 | 2 | 4K | 0 | 0.1 | 39.5 | NOASSERTION | — |
How can I help you explore Laravel packages today?