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. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub 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)

    Project mention: Build Real-Time AI Voice Transcription for Web Meetings Fast | dev.to | 2026-03-24

    For Laravel/PHP backends, use Ratchet or delegate the WebSocket relay to a small Node.js sidecar. PHP's blocking I/O model makes it genuinely ill-suited for sustained bidirectional streaming โ€” don't fight it. I've seen teams spend weeks trying to make it work before giving up and spinning up a tiny Node service that took an afternoon.

  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: Build an Unusual Options Activity Scanner With Python and Free Data | dev.to | 2026-04-15

    Polygon.io gives you 5 API calls/minute on the free tier. Thatโ€™s rough for options scanning since you need one call per expiration per symbol. Iโ€™d only recommend this if youโ€™re scanning fewer than 20 symbols.

  9. 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

Log in or Post with

PHP WebSocket related posts

  • Build Real-Time AI Voice Transcription for Web Meetings Fast

    2 projects | dev.to | 24 Mar 2026
  • How to Build a Real-Time Chat App with WebSockets (And Why It Works)

    2 projects | dev.to | 19 Mar 2026
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Jun 2026
    SaaSHub helps you find the best software and product alternatives 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,546
2 hyperf 6,845
3 Ratchet 6,427
4 LaravelS 3,882
5 laravel-centrifugo 120
6 text 51
7 client-php 34
8 chat-socket-server 11

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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