Custom Auth Implementation In Laravel: A Practical Guide

所在平台: Udemy

课程主页: https://www.udemy.com/course/custom-auth-implementation-in-laravel/

课程评论:没有评论

第一个写评论        关注课程

课程简介

《Laravel 自定义认证实现:实用指南》课程总结 本课程旨在教授如何使用 Laravel Breeze 包实现自定义认证。课程将重点讲解 Guards 的应用,为不同用户定义独立的访问区域。 **核心功能实现:** * **Guards 与数据库模型关联:** 学习 Guards 的概念,并将其分配给数据库模型。 * **自定义登录/注册:** 实现针对不同模型的自定义登录和注册功能,遵循代码复用和 DRY (Don't Repeat Yourself) 原则。 * **邮件验证:** 为自定义 Guards 实现邮件验证功能。 * **密码重置:** 为自定义 Guards 实现密码重置功能,并学习使用 Laravel 提供的 Password Brokers。 * **确认密码流程:** 实现自定义 Guard 的确认密码流程并进行相应使用。 * **独立的用户资料页面:** 为自定义 Guard 实现独立的资料页面,并定义相应逻辑。 * **区域/布局隔离:** 根据应用程序中注册的自定义 Guard,定义独立的区域和视图布局。 **配套学习内容:** * **路由与控制器组织:** 学习控制器子文件夹/命名空间的使用,以及路由结构优化。 * **视图组织:** 通过为每个区域创建子文件夹来组织视图。 * **导航菜单隔离:** 为每个区域/部分定义独立的导航菜单。 * **路由分组、命名前缀、URL 前缀:** 提升路由管理效率。 * **专用中间件:** 为每个区域定义独立的中间件,以针对特定 Guard 进行访问保护。 * **代码复用与优化:** 学习如何阅读和重用现有代码,避免重复编写。 * **VS Code 必备扩展:** 介绍 PHP/Laravel 开发者必不可少的 VS Code 扩展。 * **实用技巧:** 分享学习过程中的各种技巧。 本课程提供了一个全面且实用的指南,帮助开发者掌握在 Laravel 中构建安全、模块化的自定义认证系统。

课程评论(0条)

课程详情

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

课程标签

0人关注该课程

主题相关的课程