phpsocket.io
A server side alternative implementation of socket.io in PHP based on workerman. (by walkor)
laravel-swoole
High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications. (by swooletw)
phpsocket.io | laravel-swoole | |
---|---|---|
3 | 3 | |
2,318 | 4,044 | |
0.3% | - | |
4.7 | 2.6 | |
12 days ago | 7 months ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phpsocket.io
Posts with mentions or reviews of phpsocket.io.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-15.
-
Building a custom online chat
You can run a node js with socket Io as a WebSocket service and then use Apache to proxy it, you could still use your HTML served by Apache with no problem. Also, there's an implementation of socket Io written in PHP, maybe it worth take a look https://github.com/walkor/phpsocket.io
- Integrating a websocket interfase into a REST API?
-
Server response to AJAX request, or a websocket approach. Do you have media to recommend to learn this ? Thank you
If neither works I do not have experience with the next. But a Socket.io type implementation could work. Could make a simple web API in node to handle just the events/web sockets. Can also look around to see if anyone has made any implementations of Socket.Io for php that would work with the Socket.Io JS client library. Here's one, don't know if it works or how well.
laravel-swoole
Posts with mentions or reviews of laravel-swoole.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-06.
-
Why does Laravel need a "middleman" like Pusher or a separate Laravel Websockets server to be able to use Websockets?
I 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.
-
The new version of CrowPHP is released 0.4.1
I see you get projects like this. https://github.com/swooletw/laravel-swoole. Would that be better than reinventing the wheel?
-
Laravel Octane
Right and thats exactly what Octane does. It resets the Laravel state cleanly for you. It will replace packages that have had to do this in hackier ways bc they could not change the framework guts ex: https://github.com/swooletw/laravel-swoole https://github.com/hhxsv5/laravel-s
What are some alternatives?
When comparing phpsocket.io and laravel-swoole you can also consider the following projects:
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
RoadRunner - 🤯 High-performance PHP application server, process manager written in Go and powered with plugins
comet - Modern PHP framework for building blazing fast REST APIs and microservices
LaravelS - LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.
pusher-http-php - PHP library for interacting with the Pusher Channels HTTP API
hyperf-doctrine - 🎲 This project provides an integration for the Doctrine ORM and the Hyperf framework.