WebSockets on Laravel Cloud
Introduction
If your frontend utilizes Laravel Echo to consume WebSocket events from your backend Laravel application, you have several options for broadcasting those messages on Laravel Cloud, allowing you to build real-time, dynamic applications.
Pusher
Pusher is a fully-managed real-time platform that is compatible with Laravel event broadcasting and Laravel Echo and offers free plans that allow you to easily get started with event broadcasting. You may utilize Pusher in combination with Cloud to enjoy an auto-scaling, fully-managed WebSocket solution.
Ably
Ably is another fully-managed real-time platform that is compatible with Laravel event broadcasting and Laravel Echo and offers free plans that allow you to easily get started with event broadcasting. You may utilize Ably in combination with Cloud to enjoy an auto-scaling, fully-managed WebSocket solution.
Laravel Reverb
Support for Laravel Reverb in Laravel Cloud is currently in development and coming soon.
If you would like to use Laravel Reverb to broadcast your Laravel events, you may utilize Laravel Forge to build a VPS server which acts as your event broadcasting hub. Official support for Laravel Reverb in the Laravel Cloud dashboard is currently in development and coming soon.
Was this page helpful?