Get Real With Laravel Reverb
Hi, I'm Joe, the creator of Laravel Reverb. In this course, I'll walk you through everything you need to know to start using real-time WebSocket communication in your Laravel applications. Join me as we cover everything from installation to deployment and monitoring on our journey getting real with Laravel Reverb! Let's go!
Progress
Series Info
- Episodes
- 10
- Run Time
- 54m
- Difficulty
- Advanced
- Last Updated
- Nov 6, 2024
- Version
- Latest
Series Episodes
- Episodes (10)
Introduction
Let's take a look at the technologies we'll be using and the app we'll be working with during this course.Installation & Configuration
In this lesson, we'll take a look at how to install and configure Reverb and Laravel's event broadcasting in your application.Real-time Messaging with Event Broadcasting
We want our users to receive messages without having to refresh the page. In this lesson we'll take a look at how we can use Laravel's event broadcasting to achieve this.Authorizing Channels
Now our users can send and receive messages in real-time, let's take a minute to lock things down and ensure only those users with the relevant access are able to do so.Typing Indicators
We'll extend the capabilities of our private channel by utilizing Client Whispers to implement a typing indicator allowing us to see when other members of the channel are typing.Presence Indication
One useful feature of a real-time chat application is presence indication - knowing whether or not other users are online. In this lesson, we'll take a look at how we can implement this feature using Laravel Reverb.Bonus Refactor
During the creation of this course, the Laravel team made a new addition to the framework, which affords us the opportunity for a nice refactor.Model Broadcasting
Laravel allows us to hook into Eloquent and automatically broadcast events during the lifecycle of a given model. In this lesson, we'll work on allowing users to create new channels, whilst using model broadcasting to notify other users, in real-time, when a new channel is available.Monitoring
Now that our application is complete, we probably want to get a better understanding of how our real-time elements are performing. Using Reverb's direct integration with Laravel Pulse, we can easily track the number of subscriptions and messages being sent across our Reverb server. Join me in this lesson to learn how to get this set up.Deploying to Production
With our application now ready for the prime time, let's take a look at how we can deploy it to production and make it accessible to our users.
