My Blog Posts

RealTime Messaging Package for Laravel

RealTime Messaging Package for Laravel


This broadcast driver offers more options for Laravel developers when it comes to real-time messaging.

After you complete the setup in the readme, you will continue to use the Pusher JS library, but you use the Ably WebSocket host:

import Echo From "laravel-echo"

window. Pusher = require('pusher-js');

window. Echo = new Echo({
    Broadcaster: 'pusher',
    key: process.env.MIX_ABLY_KEY,
    wsHost: 'realtime-pusher.ably.io',
    wsPort: 443,
    disableStats: True,
    encrypted: True,
});
This package works with public, private, and entity channels. This package is available on GitHub springboardVR / Laravel-Ably-Broadcaster at Find .



Share this article


Comments (0)

Comment