PHP WebSocket

Open-source PHP projects categorized as WebSocket

Top 8 PHP WebSocket Projects

  • Workerman

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

  • Project mention: Scaling to ~15K requests per second with Java – Part 1 | news.ycombinator.com | 2023-07-14

    I remember a consulting gig where they were pushing 50k requests per second with PHP in a 2018 laptop by using this framework https://github.com/walkor/workerman

    In a real application, with database connection pooling and auth sessions, it went down to 15k requests/s.

    And that was PHP7. PHP8 introduced JIT so it's probably significantly faster these days and hopefully fully typed.

  • Ratchet

    Asynchronous WebSocket server (by ratchetphp)

  • Project mention: Connecting to PHP using Apache's mod_proxy_wstunnel without using 3rd Party APIs | /r/codehunter | 2023-06-07

    1) Do we must need to use some 3rd Party APIs or Libraries like Ratchet, PHP-Push-WebSocket or PHP WebSocket to enable PHP to communicate over WebSocket protocol?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • hyperf

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

  • Project mention: Yii news 2023 issue 2 | /r/PHP | 2023-05-25
  • laravel-swoole

    High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.

  • LaravelS

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

  • laravel-centrifugo

    🚀 Centrifugo broadcast driver for Laravel

  • text

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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 related posts

Index

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

Project Stars
1 Workerman 10,937
2 Ratchet 6,153
3 hyperf 5,938
4 laravel-swoole 4,022
5 LaravelS 3,806
6 laravel-centrifugo 68
7 text 53
8 chat-socket-server 10

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