laravel-swoole
phpsocket.io
laravel-swoole | phpsocket.io | |
---|---|---|
3 | 3 | |
4,044 | 2,310 | |
- | 0.2% | |
2.6 | 2.8 | |
5 months ago | 3 months ago | |
PHP | PHP | |
MIT License | - |
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.
laravel-swoole
-
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
phpsocket.io
-
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.
What are some alternatives?
RoadRunner - 🤯 High-performance PHP application server, process manager written in Go and powered with plugins
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
hyperf-doctrine - 🎲 This project provides an integration for the Doctrine ORM and the Hyperf framework.
comet - Modern PHP framework for building blazing fast REST APIs and microservices
laravel-job-status - Add ability to track Job progress, status and result dispatched to Queue.
smtp-mailer - SMTP mail sending and scheduling service
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
vue-lumen-starter - 😎 VueJs & Lumen Api Starter.
Socket.io - Realtime application framework (Node.JS server)
lumen-newrelic - New Relic instrumentation for the Lumen framework
pusher-js - Pusher Javascript library