Ross ROSS = Recommend OSS · open-source software intelligence for agents

reactphp/socket

Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP. observed · 2026-08-28

github.com/reactphp/socket · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

69/100

  • Activity 90
  • Release rhythm 25
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5228
  • days_rel: 287
  • days_push: 63
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1287 stars · 158 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PHP library providing asynchronous, streaming plaintext TCP/IP and secure TLS socket server and client connections for the ReactPHP ecosystem. It offers reusable interfaces for building non-blocking network servers and clients on top of ReactPHP's EventLoop and Stream components.

Use cases

  • build an async tcp server in php
  • create non-blocking socket client connections in php
  • handle many concurrent network connections without blocking
  • add a tls-encrypted socket server to a php application
  • connect to a remote tcp service asynchronously with timeouts
  • implement a custom binary protocol server in php
  • use happy eyeballs dual-stack ipv4/ipv6 connection establishment in php

When to choose

  • You are building event-driven, non-blocking TCP or TLS servers or clients in PHP
  • You need to handle many simultaneous socket connections without process/thread spawning
  • You are already using ReactPHP components such as the event loop and streams
  • You need composable connector layers for DNS resolution, timeouts, TLS, or Unix domain sockets

When to avoid

  • Your use case is a simple blocking script where plain fsockopen or cURL suffices
  • You are building a standard HTTP API better served by a traditional PHP framework and web server
  • Your team cannot work comfortably with callback/promise-based asynchronous code
  • You need protocols outside TCP, TLS, or Unix sockets, such as raw UDP

Facets

library · maturity stable

networking concurrency networking backend php cross-platform async tcp tls sockets event-loop reactphp non-blocking socket-server socket-client streaming unix-domain-sockets happy-eyeballs ipv6

4 sources

Member repositories

RepositoryRoleHealth v2
reactphp/socketmain69

For agents

markdown · JSON · MCP: product_card(name="reactphp/socket")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem