awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ghedipunk avatar

ghedipunk/PHP-Websockets

0
View on GitHub↗
917 stars·363 forks·PHP·BSD-3-Clause·1 vue

PHP Websockets

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 negotiation and the encapsulation of application data into binary frames for transmission.

The system operates using an event-driven execution model that polls for network activity to trigger callbacks without blocking the main process. It manages raw socket streams and buffers incoming data fragments in memory to ensure complete messages are assembled before being passed to the application layer.

Features

  • WebSocket Server Frameworks - Provides a framework for hosting persistent WebSocket servers that push live updates to users.
  • Event Loops - Implements a non-blocking event loop to handle concurrent network connections efficiently.
  • Websocket Connection Managers - Maintains persistent WebSocket connections with lifecycle event handling for real-time communication.
  • WebSocket Servers - Implements a persistent server for handling bidirectional real-time communication using the WebSocket protocol.
  • Data Framing - Encapsulates raw application data into binary packets with specific headers for reliable network transmission.
  • PHP - Provides a set of components for building custom network services and handling raw socket streams.
  • Protocol Upgrade Negotiators - Validates HTTP upgrade requests and computes security keys to establish persistent WebSocket connections.
  • Real-Time Web Communication - Facilitates interactive web applications requiring instant, bidirectional data exchange between servers and browsers.
  • Non-Blocking Socket Operations - Manages persistent TCP connections using non-blocking system calls for high-performance network I/O.
  • Buffer Management - Provides memory-efficient buffering to assemble fragmented network data into complete, processable messages.
  • Real-Time Frameworks - Manages persistent connections and asynchronous data exchange between web clients and server-side application logic.

Historique des stars

Graphique de l'historique des stars pour ghedipunk/php-websocketsGraphique de l'historique des stars pour ghedipunk/php-websockets

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant PHP Websockets

Sélections manuelles où PHP Websockets apparaît.
  • PHP WebSocket Libraries

Alternatives open source à PHP Websockets

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec PHP Websockets.
  • websockets/wsAvatar de websockets

    websockets/ws

    22,768Voir sur GitHub↗

    This project is a Node.js WebSocket library that provides a high-performance client and server implementation for the WebSocket protocol. It functions as a transport layer for real-time bidirectional communication, supporting both UTF-8 strings and binary data transport through the use of TCP socket wrappers. The library enables the creation of WebSocket servers that manage full-duplex connections and broadcast messages to multiple clients, as well as WebSocket clients that establish persistent links to remote servers. It handles the protocol upgrade process via TCP-based handshake negotiatio

    JavaScript
    Voir sur GitHub↗22,768
  • textalk/websocket-phpAvatar de Textalk

    Textalk/websocket-php

    931Voir sur GitHub↗

    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 co

    PHP
    Voir sur GitHub↗931
  • theturtle32/websocket-nodeAvatar de theturtle32

    theturtle32/WebSocket-Node

    3,784Voir sur GitHub↗

    WebSocket-Node is a server-side implementation of the WebSocket protocol for Node.js environments. It serves as a framework for establishing persistent, bidirectional communication channels and low-latency data exchange between clients and servers. The project provides a secure socket implementation using transport layer security and includes an integrated client for establishing outbound encrypted connections. It utilizes a formal protocol-state machine and an event-driven connection framework to manage high-concurrency network streams. The framework covers server-side infrastructure includ

    JavaScript
    Voir sur GitHub↗3,784
  • olahol/melodyAvatar de olahol

    olahol/melody

    4,066Voir sur GitHub↗

    Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions as a session manager and binary streaming library that facilitates real-time data exchange between a server and multiple remote clients. The project features a broadcast engine that optimizes multi-client transmissions through wire-representation caching. It includes a dedicated session management system for attaching custom state to persistent network connections and an upgrade handler that validates handshake headers. The framework covers broad capability areas including eve

    Goexampleframeworkgo
    Voir sur GitHub↗4,066
Voir les 30 alternatives à PHP Websockets→

Questions fréquentes

Que fait ghedipunk/php-websockets ?

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.

Quelles sont les fonctionnalités principales de ghedipunk/php-websockets ?

Les fonctionnalités principales de ghedipunk/php-websockets sont : WebSocket Server Frameworks, Event Loops, Websocket Connection Managers, WebSocket Servers, Data Framing, PHP, Protocol Upgrade Negotiators, Real-Time Web Communication.

Quelles sont les alternatives open-source à ghedipunk/php-websockets ?

Les alternatives open-source à ghedipunk/php-websockets incluent : websockets/ws — This project is a Node.js WebSocket library that provides a high-performance client and server implementation for the… textalk/websocket-php — This project is a PHP library designed for establishing persistent, bidirectional communication channels using the… theturtle32/websocket-node — WebSocket-Node is a server-side implementation of the WebSocket protocol for Node.js environments. It serves as a… olahol/melody — Melody is a WebSocket server framework designed to upgrade HTTP connections into bidirectional streams. It functions… daltoniam/starscream — Starscream is a Swift WebSocket client library that provides a concrete implementation of the WebSocket protocol for… elysiajs/elysia — Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a…