pusher-http-php
phpsocket.io
pusher-http-php | phpsocket.io | |
---|---|---|
2 | 3 | |
1,389 | 2,267 | |
0.4% | - | |
2.4 | 5.1 | |
5 days ago | about 1 month ago | |
PHP | PHP | |
- | - |
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.
pusher-http-php
-
Server response to AJAX request, or a websocket approach. Do you have media to recommend to learn this ? Thank you
If you don't mind a third-party service Pusher PHP is a popular option. Would send the event using PHP with this. Then the Pusher JS Library to handle that data on the front end. Probably the easiest.
-
How can I make my Laravel app handle real-time communication?
Thanks! Documentation is straight forward. However there seems to be a problem with Pusher.
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?
gossip - A quick chat app using Laravel 8 (Jetstream-Inertia-Tailwind stack), Vue.js, Pusher/Laravel-WebSockets, and Laravel Echo.
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
pusher-js - Pusher Javascript library
laravel-swoole - High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
chatify - Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.
comet - Modern PHP framework for building blazing fast REST APIs and microservices
Composer - Dependency Manager for PHP
Socket.io - Realtime application framework (Node.JS server)
gossip - Gossip is a nostr client
smtp-mailer - SMTP mail sending and scheduling service