Skip to content

Repository files navigation

Laravel 5.7 - Simplistic Real-time public message broadcasting with Pusher.

App exemplifying how to implement a simplistic real-time public message broadcasting resource along with Pusher, Laravel Events, Laravel Channels, Laravel Echo and Vue.js.

Home page real-time message updating:

Under the title, in the home page lays a quotation: Genius is one percent inspiration and ninety-nine percent perspiration. - Thomas Edison

This message can be update in real time, it means that all browsers or tabs running the home page of this app will be updated in real time if a new message is sent to:

/api/send-message/{your-message}

Install composer dependencies:

$ composer install

Instal npm dependencies and run the mix tasks:

$ npm install && npm run dev

On your .env file put your Pusher credentials:

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=

License

MIT

by Thiago Mallon

About

App exemplifying how to implement a simplistic real-time public message broadcasting resource along with Pusher, Laravel Events, Laravel Channels, Laravel Echo and Vue.js.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages