
Create a fresh Laravel project, install Breeze, configure the database, run migrations, and enable email verification and password reset for a custom user, while tracking progress on GitHub.
Adapt the registration flow for a custom user model by leveraging Laravel Breeze. Create a dedicated custom auth namespace, routes, controllers, and views to support registration.
Define a custom user auth middleware in Laravel to check the custom user guard and redirect to login or dashboard. Register it in the kernel and apply to routes.
Learn to implement a Laravel custom forgot password flow by adding the forgot password view, wiring routes and controllers, and configuring the password reset email flow.
In this course, we will learn to implement Custom Authentication in Laravel using the Laravel Breeze package.
We will use Guards to implement Custom Auth and define separate areas for different users.
While building the Custom Authentication functionality, we will work on the following features:
Learn about Guards and assign Guards to a Database Model.
Implement Custom Login/Registration for different Models by following patterns like Code Re-usability and DRY(Don't Repeat Yourself)
Implement Email Verification functionality for the Custom Guards.
Implement Password Reset functionality for Custom Guards and learn how to use Password Brokers provided by Laravel
Implement the Confirm Password flow for the Custom Guard and use it accordingly.
Implement a dedicated Profile Section for the Custom Guard and define logic accordingly.
Define Separate Sections/Layouts based on the custom guards registered in the application.
Along the way, we'll also Learn about:
Routes/Controllers Organization.
Controller sub-folders/namespaces
Views organization using sub-folders for each Area.
Separate Navigation menus for each Area/Section
Route grouping
Route name prefixes
URL prefixes
Also, we'll define individual Middlewares, to protect each area based on its specific Guard
Along with the above concepts, we will also:
Learn how to Read and Reuse the existing code to avoid Code Duplication.
Learn about the essential VS Code extensions every PHP/Laravel developer must use.
Learn a few tips/tricks along the way
And many more