Custom Auth Implementation In Laravel : A Practical Guide

Posted By: ELK1nG

Custom Auth Implementation In Laravel : A Practical Guide
Published 9/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 439.18 MB | Duration: 0h 49m

Learn how to implement Custom Authentication System in Laravel

What you'll learn

Learn about Laravel Auth Guards and assign Guards to a Database Model.

Implement  Email Verification functionality for Custom Guards

Implement Password Reset functionality for Custom Guards and learn how to use Password Brokers provided by Laravel

Define Separate Sections/Layouts for the individual Areas

How to define individual Middlewares, to protect each area based on its specific Guard

Implement Confirm Password flow for the Custom Guard

Define a flexible EnsureEmailIsVerified middleware to check for Email Verified status

Requirements

PHP and Object Oriented Programming

Basic Knowledge of Laravel

Server Environment to run Laravel apps (like PHP, Mysql, Composer) should be Installed

Description

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 LaravelImplement 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/namespacesViews organization using sub-folders for each Area.Separate Navigation menus for each Area/SectionRoute groupingRoute name prefixesURL prefixesAlso, we'll define individual Middlewares, to protect each area based on its specific GuardAlong 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 wayAnd many more

Overview

Section 1: Introduction

Lecture 1 Introduction

Section 2: Let's Implement Custom Auth using Laravel Breeze

Lecture 2 Install and Setup Laravel/Breeze

Lecture 3 Implement Email Verification for Default User

Lecture 4 Define CustomUser Model and Configure it accordingly

Lecture 5 Start working on Email Verification Flow

Lecture 6 Implement Resending Account Verification Email

Lecture 7 Finalize Email Verification Flow

Laravel developers who want to implement Custom Auth in their Laravel Apps