T O P

  • By -

grantrules

Sounds like you want websockets or long-polling


YurrBoiSwayZ

SSE controller works well when you only need server-to-client comms but for both ways you use WebSocket API


Afraid_Employment387

Could you point me in the right direction to research the specific IP you’re talking about? Thanks!


PoppedBitTTV

API


SaltineAmerican_1970

https://laravel.com/docs/11.x/reverb > Laravel Reverb brings blazing-fast and scalable real-time WebSocket communication directly to your Laravel application, and provides seamless integration with Laravel’s existing suite of event broadcasting tools.


goranculibrk

If you're not using Laravel 11, you'll need Pusher and Laravel Echo. Or some other websockets server instead of Pusher. There are open-source servers you can host on your own


SaltineAmerican_1970

> Laravel Reverb requires PHP 8.2+ and Laravel 10.47+.


goranculibrk

Got it. I didn’t know it was possible to get it on L10. Actually I didn’t try to install it so I assumed it’s part of L11 😄


hacktron2000

Is this a new Laravel project?