PHP WebSocket

Open-source PHP projects categorized as WebSocket

Top 8 PHP WebSocket Projects

  1. Workerman

    An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.

    Project mention: The Rise of Hybrid PHP: Blending PHP with Go and Rust | news.ycombinator.com | 2025-08-30
  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. hyperf

    🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.

  4. Ratchet

    Asynchronous WebSocket server (by ratchetphp)

  5. LaravelS

    LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

  6. laravel-centrifugo

    🚀 Centrifugo broadcast driver for Laravel

    Project mention: Connecting the Centrifugo in laravel | dev.to | 2025-09-05

    Installing the sdk that is listed in the dock - at this stage it is officially recommended to install this repository

  7. text

    An experiment with WebSockets and the human condition. (by g105b)

  8. client-php

    The official PHP client library for the Polygon REST APIs.

    Project mention: Driving Smarter Decisions: Using Share Price APIs for Data-Driven Marketing | dev.to | 2025-03-04

    Here are some valuable resources for developers exploring share price API solutions: Alpha Vantage API: A free platform offering extensive stock market data, including historical trends and real-time updates. Yahoo Finance API: A widely used service providing comprehensive financial data. Polygon.io: A robust tool for real-time market data and aggregated information across various financial markets. IEX Cloud: A flexible API for stock price data and financial insights, suitable for SaaS platforms.

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. chat-socket-server

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP WebSocket discussion

PHP WebSocket related posts

  • Connecting the Centrifugo in laravel

    1 project | dev.to | 5 Sep 2025
  • Workerman: Libevent-based asynchronous event driven PHP socket framework

    1 project | news.ycombinator.com | 30 May 2024
  • FrankenPHP: The Modern PHP App Server

    19 projects | news.ycombinator.com | 29 May 2024
  • Swift sucks at web serving or does it?

    5 projects | news.ycombinator.com | 15 May 2024
  • Scaling to ~15K requests per second with Java – Part 1

    2 projects | news.ycombinator.com | 14 Jul 2023
  • Connecting to PHP using Apache's mod_proxy_wstunnel without using 3rd Party APIs

    3 projects | /r/codehunter | 7 Jun 2023
  • I made a simple chat socket server

    2 projects | /r/PHP | 11 Feb 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 22 Dec 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source WebSocket projects in PHP? This list will help you:

# Project Stars
1 Workerman 11,507
2 hyperf 6,721
3 Ratchet 6,415
4 LaravelS 3,887
5 laravel-centrifugo 108
6 text 51
7 client-php 32
8 chat-socket-server 11

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that PHP is
the 14th most popular programming language
based on number of references?