
Build a fully functional video chat application using Laravel, WebRTC, Reverb, and JavaScript, covering login, profiles, real-time calling, P2P with WebSocket, and Laravel WebSocket integration.
Explore Laravel’s model-view-controller pattern and core folders—app, public, resources, and routes—to organize your code, and see how a root route loads a view from resources.
Set up a Laravel application, connect it to a MySQL database, and run migrations to create a users table with username and profile image.
Create an auth controller in Laravel to handle login, wire routes for show login form and post login, and implement csrf-protected request handling.
Build a Laravel home page with a reusable base layout. Create a home controller, define routes, and blade components for the user list and profile.
Implement a logout flow by adding a guest/auth route group and a logout method; invalidate the session, regenerate the csrf token, and redirect to login.
Route a username to a profile page, fetch the user data in the controller, and render profile name, image, and a conditional call button in the profile component.
Build a live user search with Ajax by creating a search.js, binding keyup events, and querying a Laravel route to fetch results from the database while including the CSRF token.
Learn to implement a Laravel ajax search: validate input, build a like-based query on name or username, return a JSON response, and render results with jQuery.
Define a register route and form, validate inputs, and create a new user in the database; hash the password, log the user in, and redirect to the home page.
Update account settings by validating and saving profile changes via a dedicated form request, covering name, username, email, password, and profile image with server-side validation.
Update a user profile by conditionally hashing a new password, handling optional inputs, uploading and replacing profile images using storage and public links, with a success message.
WebRTC enables real-time video and audio in browsers via peer-to-peer connections, using JavaScript APIs, signaling, offers and answers, and STUN/TURN to traverse firewalls.
Set up and test real-time video chat in a Laravel app by configuring WebSocket with Laravel Reverb, Laravel Echo, and WebRTC, and implementing event broadcasting through channels and whisper.
Define a get user route and controller to fetch current or targeted user data, then fetch via Ajax, and broadcast through WebSocket to signal call status.
Ask for user camera and microphone permissions, use the local stream with WebRTC to start a video call via WebSocket signaling, and display the local and remote video feeds.
Display a call popup showing the sender's name and profile image with accept or reject controls, using the call popup blade file and JavaScript to manage WebRTC connections.
Check if the receiver is already on a call by evaluating the WebRTC connection state, and show a busy message or call-accept/reject popup accordingly.
Gather media and networking data from current user, generate a WebRTC offer with ice, attach local tracks, and send the offer to the receiver to start a peer-to-peer video call.
Create the answer handler to process the client offer, set the remote description, generate and send the client answer with the local description to establish the WebRTC P2P call.
Display the live video call by revealing the video container with remote and local video, and hide the profile and footer areas after a successful P2P connection.
Display the username for both caller and receiver during a live video call and fix issue when users are in different browsers by using the correct sender and receiver IDs.
Have you ever wanted to build a Live Video Chat Using Laravel just like WhatsApp or Google meet and don’t know where ? Don’t worry this Course will guide you step by step to build your very first Video call application. Yes you can create your own One To One Real-Time Video Chat App Development with Laravel, Reverb, WebRTC and Javascript
This course will be greatly and highly beneficial to you. And by the end of this course you will be capable of creating your own Peer To Peer Live Video Chat Application Just like WhatsApp, or zoom, not only this you will also learn about WebSocket (Laravel's Reverb) because we will be using WebSocket with Laraval.
And you can also add this One to one live video chat feature to your existing website or to your project where you want to add support with video chat.
You can highlight the project you create in this course, If anyone who sees this project in your portfolio might want to hire you because from this course you will gain skills which help you to understand the main concept used in the Real Time Communication system. So get the ULTIMATE guide to create a REAL TIME Video Application Using Laravel WebRTC, Reverb(Websocket).
Support
By taking this course you will get my full support. I've always loved to help my students (could be you). I’ve answered all that question that students have asked so far. I’m always in a ninja mood, if there’s a question it’ll be answered within an hour or few. By all this means if you have any errors. I'll be happy to check codes, errors.
This Course Covers The Following Features:
One to one Video Chat
WebRTC Connection Logic
Send Video Call Request
Receive Video Call Request
Signaling Server Logic
WebRTC Negotiation
Peer to Peer connection
WebSocket Server / Client Logic
Clients Connections Logic
Store Messages Logic
Display call popup with Accept / Decline buttons
Display Client / Remote Video
Websocket Tokens
Please
look at all the lectures to see more things that are covered.