
Learn how to create Blade templates in Laravel, understand what a view is, and pass data from a controller into a view, using Blade directives like foreach and dynamic expressions.
Master Laravel authentication by implementing login/logout, validating inputs, posting to /log in, using auth()->attempt, regenerating the session, and rendering a logged-in home page showing the username.
Learn how to implement logout, redirects, and flash messages in Laravel, protect forms with CSRF tokens, and display login, logout, and success or error feedback in layouts and views.
Learn how Laravel adds markdown support to post content, enabling headings, bold, italics, and lists that render as HTML. See how Str::markdown and blade rendering provide safe, controlled output.
Learn to resize images on the server with PHP in a Laravel app using the Intervention Image package, including validation, middleware-protected routes, and saving avatars to storage with unique filenames.
Learn to save follows in the database by creating a follows table with user id and followed user, and wiring routes and a controller to follow and unfollow.
Add a dynamic follow or stop-follow button that toggles based on whether the logged-in user already follows the profile, using auth checks and a follow relationship in Laravel.
Learn to output a list of users by modeling followers and following in Laravel, define relationships in user and follow models, and render usernames, avatars, and follower and following counts.
Connect your Laravel backend to client-side JavaScript using vite for asset bundling and implement a live search UI with real-time results, npm workflows, and dom purify.
Learn how events and listeners decouple code in Laravel, fire example events on login/logout, and connect listeners to log actions and prepare for broadcasting in a live chat feature.
Connect client-side JavaScript to live broadcasting with pusher, setting up chat.js and the private channel. See how Laravel broadcasts chat messages via ChatMessageEvent to connected clients.
Updated in November 2024 to include version 11 of Laravel and also a brand new chapter about the amazing Livewire framework.
Learn the incredibly popular and in demand Laravel (version 11) framework. There are countless Laravel courses in the world; here's what makes this one unique:
No assumptions that you already understand the PHP language.
No assumptions that you already understand the "Model View Controller" pattern.
No assumptions that you already understand how to setup a dev environment on your computer.
No assumptions that you already understand how to deploy a website.
No assumptions that you already understand the Linux command-line.
Laravel is an amazing framework, but because it is so feature-complete I've noticed that a lot of guides and tutorials get overly ambitious and introduce 10 or 20 new concepts in a single lesson which is frustrating when you're a beginner and you're trying to actually understand why you're doing what you're doing. I've also noticed a lot of tutorials assume you've already used lots of other web application frameworks before Laravel, and so they don't actually explain any of the organizational or conceptual pieces of the puzzle.
This course is different because I assume that Laravel is the first web application framework you've ever attempted to learn, and so we move at a pace where you can actually absorb the big-picture concepts that exist in all frameworks; not just Laravel.
Here's what we'll learn in the course:
The PHP language itself
Getting our computer ready for Laravel
User registration, log in, log out
Profile Photo Upload (server-side resize & storage)
The Blade Template Engine
Composer the PHP Dependency Manager
Form Validation
Gates, Policies, Permissions (e.g. You can only edit your own posts and not other people's posts)
Relationships; letting one user follow another user
How to use Models to query for the exact data you want (e.g. homepage feed of posts from the users you follow)
How to send automated emails from your app
Add API URLS that allow users to login and create & delete posts from outside the context of a web browser
Use Docker to practice deploying to a Linux server
Configure a real public Ubuntu VPS to host our Laravel app with a real domain
Setup our VPS as a Git server that you can push to for effortless future updates to your live site
I encourage you to watch the freely available first lesson titled "Welcome To The Course" to get a better feel for the course.
This course may be brand new, but this isn’t my first time teaching. I’ve led training sessions for Fortune 500 companies and I’ve already helped over 200,000 people on Udemy and received the following feedback:
"Brad definitely has some of the best techniques to embed the lesson into your mind… hands down these are the best tutorials I have had the opportunity to view."
"Presentation is concise without being tedious… you honestly feel that you have a thorough understanding of the subject."
"…[Brad] explained the process. Not memorize this or that, he explained the process. If you're looking to take a course to understand the foundations of creating websites, look no further."
Become highly valuable and relevant to the companies that are hiring Laravel developers; in one convenient place alongside one instructor. If you're ready to begin coding your own applications from the ground up - I'll see you on the inside!