PHP WebSocket

Open-source PHP projects categorized as WebSocket

Top 7 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 | | 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

    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?

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

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

    Project mention: Why does Laravel need a "middleman" like Pusher or a separate Laravel Websockets server to be able to use Websockets? | /r/laravel | 2022-11-06

    I played around with years ago, and it worked for a simple site I made to learn. You really need a long running process like Swoole provides. I have switched our apps to Octane instead of laravel-swoole so I lost that.

  • LaravelS

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

  • laravel-centrifugo

    🚀 Centrifugo broadcast driver for Laravel

    Project mention: Laravel Websockets vs Soketi vs Laravel Echo Server | /r/laravel | 2023-01-09
  • text

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

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

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). The latest post mention was on 2023-07-14.

PHP WebSocket related posts


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

Project Stars
1 Workerman 10,668
2 Ratchet 6,024
3 hyperf 5,504
4 laravel-swoole 3,972
5 LaravelS 3,769
6 laravel-centrifugo 58
7 text 52
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.