awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Textalk avatar

Textalk/websocket-php

0
View on GitHub↗
931 stars·254 forks·PHP·1 view

Websocket Php

This project is a PHP library designed for establishing persistent, bidirectional communication channels using the WebSocket protocol. It functions as both a client and a server implementation, providing the necessary tools to initiate connections with remote endpoints or host custom messaging services.

The library manages the full lifecycle of network connections, including the initial HTTP handshake negotiation required to upgrade standard web traffic to a persistent stream. It utilizes low-level stream resources to handle data flow and incorporates automated heartbeat signals to monitor connection health, detect timeouts, and ensure stable communication.

The implementation relies on synchronous blocking input and output operations, processing data through frame-based encapsulation to maintain protocol compliance. The library is available as a package for integration into PHP applications requiring real-time data exchange capabilities.

Features

  • WebSocket Clients and Servers - Implements both client and server-side logic for establishing persistent bidirectional communication channels using the WebSocket protocol.
  • Real-Time Communication - Enables persistent, bidirectional data streaming between applications and remote servers for instant updates.
  • Connection Lifecycle Managers - Tracks active connections and uses keep-alive signals to manage session durations and perform clean resource cleanup.
  • Data Framing - Encapsulates outgoing messages into binary packets with specific headers to ensure correct transmission over the underlying stream.
  • WebSocket Servers - Facilitates the creation of custom server-side implementations for managing persistent, bidirectional communication channels.
  • Connection Management - Monitors and maintains the stability of network connections throughout their lifecycle using automated heartbeats.
  • Protocol Upgrade Negotiators - Transitions stateless HTTP requests into persistent bidirectional streams by performing the initial protocol upgrade handshake.
  • Stream Socket Implementations - Provides reliable, ordered byte stream communication using low-level PHP stream resources.
  • WebSocket Connection Establishment - Initiates and manages persistent bidirectional communication channels with remote servers.
  • Liveness Heartbeat Monitoring - Monitors the active status of network connections via periodic heartbeat signals to detect timeouts and ensure stability.
  • Real-Time Frameworks - Provides a toolkit for building interactive applications that require low-latency data streaming over standard web protocols.

Star history

Star history chart for textalk/websocket-phpStar history chart for textalk/websocket-php

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Websocket Php

Hand-picked collections where Websocket Php appears.
  • PHP WebSocket Libraries

Frequently asked questions

What does textalk/websocket-php do?

This project is a PHP library designed for establishing persistent, bidirectional communication channels using the WebSocket protocol. It functions as both a client and a server implementation, providing the necessary tools to initiate connections with remote endpoints or host custom messaging services.

What are the main features of textalk/websocket-php?

The main features of textalk/websocket-php are: WebSocket Clients and Servers, Real-Time Communication, Connection Lifecycle Managers, Data Framing, WebSocket Servers, Connection Management, Protocol Upgrade Negotiators, Stream Socket Implementations.

What are some open-source alternatives to textalk/websocket-php?

Open-source alternatives to textalk/websocket-php include: signalr/signalr — SignalR is a .NET real-time web framework designed to push content from a server to connected browser and non-browser… ghedipunk/php-websockets — PHP-Websockets is a network programming library that provides a persistent server implementation for handling… ithewei/libhv — libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP,… sparckles/robyn — Robyn is a high-performance asynchronous web framework and server for Python that utilizes a Rust-powered runtime to… pallets/quart — Quart is an asynchronous Python web framework that implements the ASGI specification. It is used to build… googollee/go-socket.io — go-socket.io is a Go implementation of the Socket.IO protocol used to build real-time, bidirectional, and event-driven…

Open-source alternatives to Websocket Php

Similar open-source projects, ranked by how many features they share with Websocket Php.
  • signalr/signalrSignalR avatar

    SignalR/SignalR

    9,389View on GitHub↗

    SignalR is a .NET real-time web framework designed to push content from a server to connected browser and non-browser clients. It provides a server-to-client push framework and a remote procedure call system that enables bidirectional communication over persistent connections. The library utilizes WebSockets to establish full-duplex connections and includes a transport-layer abstraction to manage different network protocols. It employs client-side connection negotiation to determine the best available communication protocol during the initial handshake. The system manages persistent connecti

    C#
    View on GitHub↗9,389
  • ghedipunk/php-websocketsghedipunk avatar

    ghedipunk/PHP-Websockets

    917View on GitHub↗

    PHP-Websockets is a network programming library that provides a persistent server implementation for handling bidirectional real-time communication. It functions as a framework for managing asynchronous data exchange between web clients and server-side application logic, enabling the development of responsive systems that react to incoming messages. The library facilitates the hosting of WebSocket servers by managing persistent connections and pushing live updates to users. It handles the technical requirements of the protocol, including the validation of upgrade requests through handshake ne

    PHP
    View on GitHub↗917
  • ithewei/libhvithewei avatar

    ithewei/libhv

    7,521View on GitHub↗

    libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP, WebSocket, and MQTT clients and servers. It provides a non-blocking event loop for managing network sockets, timers, and system signals across multiple threads. The project is distinguished by its integrated support for specialized network roles, including a full HTTP web server with RESTful routing and middleware, an MQTT messaging client for IoT communication, and the ability to implement SOCKS5 and HTTP proxies. It also features a reliable UDP implementation to ensure ordered

    Ccurlepollhttp-client
    View on GitHub↗7,521
  • sparckles/robynsparckles avatar

    sparckles/Robyn

    7,265View on GitHub↗

    Robyn is a high-performance asynchronous web framework and server for Python that utilizes a Rust-powered runtime to execute code. It functions as an asynchronous Python web server designed to handle many concurrent requests efficiently through a multithreaded execution model. The project includes specialized capabilities for AI agent request routing, managing communication between agents and external tools. It also serves as a WebSocket communication server, maintaining persistent bidirectional channels for real-time data exchange. The framework covers a broad range of web infrastructure, i

    Pythonasyncbackendhacktoberfest
    View on GitHub↗7,265
  • See all 30 alternatives to Websocket Php→