Effortless Real-Time Chat Apps with Laravel Reverb and Vue.js 3
VloĆŸit
- Äas pĆidĂĄn 25. 07. 2024
- Laravel Reverb Tutorial: This video dives into building a seamless real-time chat application using Laravel Reverb and Vue.js 3! We'll show you how to leverage Reverb's power alongside Vue.js 3 to create a smooth, effortless chat experience for your users.
In this video, you'll learn:
- The magic of Laravel Reverb for real-time features
- Integrating Reverb with Vue.js 3 for a seamless frontend
- Building a real-time chat application step-by-step
- Essential techniques for a user-friendly chat experience
By the end of this video, you'll be equipped to build and deploy modern chat applications confidently!
Don't get left behind! Try Spec Coder: Supercharge Your Coding with AI!
50% off! Use code YT-FAMILY (limited time offer).
đ qirolab.com/spec-coder
GitHub Repository:
github.com/qirolab/laravel-re...
Blog Post: Building Real-Time Chat Applications with Laravel Reverb and Vue 3
qirolab.com/posts/building-re...
đ„ Spec Coder: Supercharge Your Coding with AI! (Features & AI Setup)
âą đ„ Spec Coder: Supercha...
ⶠReal-time Chat system (Laravel WebSockets, VueJs, Laravel-echo)
âą Real-time Chat system ...
ⶠLaravel Themer: Add multi-theme support for the Laravel application
âą Laravel Themer: Add mu...
ⶠVSCode Customisation Tips & Tricks
âą VS Code Customisation ...
ⶠCode Quality DevTools
âą Code Quality DevTools
ⶠ#1: SPA Authentication using Laravel Sanctum Tutorial
âą #1: SPA Authentication...
ⶠ#2: API Token Authentication using Laravel Sanctum
âą #2: API Token Authenti...
ⶠSOLID design principles Playlist
âą SOLID design principles
ⶠInstall Laravel Valet Linux Plus
âą #4: How to install Lar...
ⶠLaravel Eloquent Relationships
âą #1 - One to One relati...
ⶠLaravel Excel Tutorial
âą #1: Laravel Excel Expo...
#LaravelReverb #laravel #Vuejs3 #RealTimeChatApp #WebDevelopment #CodingTutorial #qirolab #programming #laravel11 #laravelphp #laravel_tutorial
Timestamps:
00:00 - Introduction
02:01 - Create Fresh Laravel 11 App
03:05 - (Optional) Installing Laravel-Themer Package for quick authentication scaffolding
07:06 - Display list of users on the Dashboard page
10:06 - Create a Chat Page
12:07 - Chat Component in Vue 3
17:07 - Create `ChatMessage` Model & Migration
19:28 - Display Chat messages
27:14 - Implementing the Send Message feature
30:38 - Installing Laravel Reverb
36:01 - Broadcasting `MessageSent` event & Creating Channel Route
38:21 - Listen for broadcasted messages in the Chat Component using Laravel Echo
40:33 - Fix scroll on receive a new message
42:32 - Wisper typing event using Laravel Echo
Support my work:
1. On BuyMeACoffee: www.buymeacoffee.com/qirolab
Also, follow us on:
đ đđđđđšđšđ€: qirolab
đđ°đąđđđđ«: / qirolab - VÄda a technologie
Don't get left behind! Try Spec Coder: Supercharge Your Coding with AI!
*50% off!* Use code *YT-FAMILY* (limited time offer).
đ qirolab.com/spec-coder
your videos are always very helpful. thanks
So nice of you
How can we receive events in the backend from frontend, we can use whisper() function?
make some videos on basic concept of websocket, echo, pusher, broadcasting etc.
Noted
hello, do you ever plan on making a react version for this?
I haven't planned a separate video for React because the same logic can be applied in React.js as well. If you have any specific questions about how to implement it in React, feel free to ask!
please make the same with InertiaJs
Implementation with Inertia.js is the same, just follow 38:26 in your component.
Hi, please show all online user list, i'm face the issue to handel the get all online user without refresh. i get online user when i refresh the page. Please help
For that, you should watch this playlist: czcams.com/play/PL1TrjkMQ8UbWfFUCimQ50CdrR_J7QvEFW.html
It is a real-time chat using Laravel WebSocket, and the logic is the same with Laravel Echo.
shouldnt be sockets ? instead of ajax?
đđ
WebSocket is two-way communication over a single TCP connection; I used AJAX to store messages in the database and WebSockets for real-time communication.
well
480p?
Apologies for the low quality of the video. I made a mistake during the rendering process.
@@QiroLab nvm! A great video.
Thanks