/websockets

A simple websockets example using Laravel

Primary LanguagePHP

Laravel Websockets

A simple websockets example.

A user creates a new post and the post is instantly shown to any other logged in users without the need for refresh.

This example uses beyondcode/laravel-websockets as a Pusher replacement, laravel-echo to listen for events broadcast by the application and Vue.js to display the content on the front-end.

Demo

Demo