Laravel Websockets – Package Usage & Demos



http://usefullaravelpackages.com

We take a look at the Laravel Websockets package by Freek from Spatie and Marcel from beyondcode. This package is a websockets server written in PHP and can be used as a replacement for Pusher. We take a look at getting the demo chat application running and we also convert one of my projects using Pusher to use this package instead. We then take some time to get it running on a real production server, set up supervisor and make sure everything is encrypted.

Try out the chat: https://chat.laravelecommerceexample.ca
GitHub Repo: https://github.com/drehimself/laravel-websockets-demo

Real-Time Laravel with Pusher/Echo: https://www.youtube.com/watch?v=pjK0VMTCtVg
GitHub Repo: https://github.com/drehimself/laravel-realtime-example/tree/laravel-websockets

In-depth blog post by Freek: https://murze.be/introducing-laravel-websockets-an-easy-to-use-websocket-server-implemented-in-php

# LINKS
My courses: https://codewithdre.com
Sign up for my newsletter: http://andremadarang.com/newsletter
My website: http://andremadarang.com
Twitter: http://twitter.com/drehimself
GitHub: http://github.com/drehimself
CodePen: http://codepen.io/drehimself

source

Reply

Do NOT follow this link or you will be banned from the site!