All Questions
15
questions
0
votes
0
answers
14
views
Best Practice for Broadcasting Dynamic (updating) Product Prices in Laravel 11 with Vue 3 Frontend
I am developing an e-commerce platform using Laravel 11 for the backend and Vue 3 for the frontend, which requires near real-time updates of product prices and stock levels in response to currency ...
1
vote
0
answers
268
views
laravel broadcast.php pusher option not working
I am working on a realtime chatting application and I am using websocket with laravel
I am using library beyoundcode/laravel-websocket
I have change broadcast driver to pusher and have configured ...
1
vote
0
answers
210
views
Laravel Pusher Websocket Not Working on HTTPS port 443
"message": "Pusher error: cURL error 7: Failed to connect to 54.217.244.226: Network is unreachable (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api-eu.pusher....
0
votes
0
answers
570
views
Laravel 10, Soketi pusher failed to broadcast event
I have been working with a project where I need the socket connection for realtime connection.
I am using soketi for the socket provider with Laravel.
My socket connection is working fine, but in my ...
0
votes
2
answers
675
views
How to achieve EventBroadcast by using presence channel in laravel 8?
I am very new to the laravel Event Broadcasting Concept ,i have some requirement without refreshing page i need to update the data in Angular site.i made a presence channel by using pusher.i called my ...
1
vote
0
answers
47
views
POST http://192.168.0.114/api/broadcasting/auth 419 (unknown status) laravel
I have some issues about to connect to broadcasting from React
I sure don't have any error on my code, this is my code
on my broadcast.php on config folder
'pusher' => [
'driver' =&...
1
vote
0
answers
192
views
Laravel Echo.js not receiving notification from pusher no log message
I followed up some tutorials about echo and pusher. I configured all the project as necessary but object notifications not appear at browser. I uncoment the line
<?php
namespace App\Notifications;
...
0
votes
0
answers
295
views
Laravel webscoket with Docker, Dispatch not working
I created containers with Docker app, nginx and websocket
The connection work perfect but when I dispatch nothing happen.
Client side
window.io = io;
window.Echo = new Echo({
...
0
votes
1
answer
975
views
Broadcast::channel method is not being called
I am using laravel-websockets package by beyondcode and it is working great for public channels. However when i switch to a private channel, the event is fired but my client cannot listen. I have ...
0
votes
0
answers
1k
views
Handshake problem on websocket connection when using Laravel Echo Server as Pusher replacement
I want to use Laravel Echo Server as Pusher replacement
I am seeking the Laracast tutorial series for Laravel broadcasting: https://laracasts.com/series/get-real-with-laravel-echo.
I have succesfully ...
0
votes
0
answers
137
views
Foreach and sleep function to broadcast
The main objective of this question is to have a system running permanently on the server to broadcast music.
I would like to create an artisan console function that will automatically launch a track ...
0
votes
1
answer
740
views
Laravel Broadcasting / WebSockets: How to run only for authenticated / logged in users?
So I want the broadcast functionality only to be available for users who are logged in, because I use Laravel WebSockets (so I am hosting the broadcast service myself) and I want it to be scalable.
...
0
votes
1
answer
64
views
How local ubuntu device can listen events of Laravel application deployed at remote server
Remote Application (the App) is stored at a remote web server with static IP address and available via http/https protocol.
The App uses Laravel framework.
Clients are stored at different local ...
0
votes
1
answer
167
views
Laravel's `broadcast` function doing nothing
Running Laravel 5.5, PHP 7.0 on Ubuntu with Apache2.
I have this line of code:
broadcast(new \App\Events\Event("test"));
And I have the broadcaster set to "log" in /config/broadcasting.php:
'...
0
votes
1
answer
348
views
Broadcast different data for different users
I'm running a platform with a comment module. User can comment articels there and the server decides whether a user can edit or delete a comment he doesn't own based on a role system.
These flags are ...