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.

  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal 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

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

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

    SaaSHub 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

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 - AppSignal
    www.appsignal.com | 13 Oct 2026
    Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. 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,547
2 hyperf 6,906
3 Ratchet 6,435
4 LaravelS 3,878
5 laravel-centrifugo 125
6 text 51
7 client-php 35
8 chat-socket-server 10

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com

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