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. Learn more →
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 | news.ycombinator.com | 2023-07-14I 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.
-
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.
-
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-06I played around with https://github.com/swooletw/laravel-swoole 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.
-
-
-
-
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.
PHP WebSocket related posts
- Scaling to ~15K requests per second with Java – Part 1
- Connecting to PHP using Apache's mod_proxy_wstunnel without using 3rd Party APIs
- I made a simple chat socket server
- Weekly help thread
- How good does ajax long polling work in PHP?
- Ratchet tutorial/implementation of subscribe, unsubscribe and publish to channel
- Build Warehouse and Store Management System - Pt. 4 - Final
-
A note from our sponsor - Mergify
blog.mergify.com | 28 Sep 2023
Index
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 |