Tutorialspoint

#May Motivation Use code MAY10 for extra 10% off

Custom Auth Implementation In Laravel: A Practical Guide

person icon Tapan Sharma

4.6

Custom Auth Implementation In Laravel: A Practical Guide

Learn how to implement Custom Authentication System in Laravel by using Custom Guards

updated on icon Updated on May, 2024

language icon Language - English

person icon Tapan Sharma

category icon Web Development,Laravel

Lectures -24

Resources -1

Duration -2.5 hours

4.6

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course 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 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

Goals

  • 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 Custom Guard/Model
  • How to define individual Middlewares, to protect each area based on its specific Guard
  • Learn how to Implement the Confirm Password flow and prompt to enter a password before proceeding to a sensitive area
  • Define a flexible Middleware to check for Email Verified status

Prerequisites

  • PHP and Object Oriented Programming
  • Basic Knowledge of Laravel
  • Server Environment to run Laravel apps (like PHP, Mysql, Composer) should be Installed
Custom Auth Implementation In Laravel: A Practical Guide

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
1 Lectures
  • play icon Introduction to the Course 02:51 02:51
Implementing Custom Auth using Laravel Breeze
22 Lectures
Tutorialspoint
Conclusion
1 Lectures
Tutorialspoint

Instructor Details

Tapan Sharma

Tapan Sharma


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515