Realtime Private Messages with Laravel Livewire

29 episodes3 hrs 26 mins

Course overview

Build a realtime private message dashboard that allows conversations between any number of users, with everything updated in realtime.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Episodes

0%
Your progress
  • Total: 3h 26m
  • Played: 0m
  • Remaining: 3h 26m
01. Introduction
3m 36s
0%
02. Installing Laravel and Livewire
6m 24s
0%
03. Listing conversations
14m 34s
0%
04. Attaching users to conversations
8m 56s
0%
05. A little refactor to a user presenter
6m 43s
0%
06. Showing the conversation view
7m 25s
0%
07. The conversation user component
3m 5s
0%
08. Attaching messages to conversations
6m 15s
0%
09. Displaying conversation messages
9m 10s
0%
10. Replying to a conversation
10m 37s
0%
11. Using Alpine.js to submit the form
3m 31s
0%
12. Showing the latest message in the conversation list
1m 14s
0%
13. Ordering conversations by latest message
5m 49s
0%
14. Marking conversations as read
11m 32s
0%
15. Setting up Laravel Websockets
8m 42s
0%
16. Updating conversation messages in realtime
10m 23s
0%
17. Properly authorizing channels
1m 47s
0%
18. The new conversation view
10m 1s
0%
19. An endpoint to search for users
4m 44s
0%
20. Searching and adding users
11m 13s
0%
21. Creating a new conversation
7m 11s
0%
22. Adding new conversations in realtime
8m 50s
0%
23. Fixing pivot rerendering issue
3m 45s
0%
24. Updating the conversation list details in realtime
6m 33s
0%
25. Using a blade component for user searching
11m 50s
0%
26. Retrospectively adding users to conversations
4m 13s
0%
27. Updating freshly added users in realtime
8m 59s
0%
28. Checking in with authorization
3m 58s
0%
29. Refactoring with a view composer
5m 26s
0%

Related courses

Alpine.js
Laravel
Livewire
Build a Multi-room Realtime Chat with Livewire

Join a room and start chatting! This course covers building a multi-room text chat app with Laravel Livewire, including Laravel Websockets for realtime updates, and a sprinkle of Alpine.js to handle showing when a user is typing in realtime.

1 hr 23 mins
Livewire
Getting started with Laravel Livewire

If you use Vue or React but don’t like the hassle of making requests to an API to drive components, you’ll love Livewire. Using a single PHP class and a Blade template, you’ll be creating powerful, reactive components in no time, without the need for Vue or React.

40 mins