0% found this document useful (0 votes)
4 views

4.2 Lesson 4 Class Notes

The document provides class notes on authentication methods in the Laravel PHP Framework, covering key concepts such as user registration, login, and logout. It discusses various authentication methods including Laravel/UI, Breeze, and Jetstream, detailing installation steps and features of each. Additionally, it emphasizes the progression from Breeze to Jetstream for enhanced functionality and design.

Uploaded by

shoibbasil62
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

4.2 Lesson 4 Class Notes

The document provides class notes on authentication methods in the Laravel PHP Framework, covering key concepts such as user registration, login, and logout. It discusses various authentication methods including Laravel/UI, Breeze, and Jetstream, detailing installation steps and features of each. Additionally, it emphasizes the progression from Breeze to Jetstream for enhanced functionality and design.

Uploaded by

shoibbasil62
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

4.

2 LESSON 4 CLASS NOTES

Site: TUM E-Learning Portal Printed by: WAMBUA NZIOKI ONESMUS


Course: Laravel PHP Framework (TG) Date: Tuesday, 12 December 2023, 2:45 PM
Book: 4.2 LESSON 4 CLASS NOTES
Table of contents

1. What is Authentication?

2. Laravel Authentication methods

3. Authentication via Laravel/UI

4. Authentication via Breeze

5. Breeze Installation Steps

6. Authentication via Jetstream

7. The Jetstream Package


1. What is Authentication?

•Authentication means allowing users to Register, Login and Logout

•Authentication Implementation involves minimal implementation of all of Laravel's authentication features, including login, registration,
password reset, email verification, and password confirmation

•Installation made at the artisan CLI using a command


2. Laravel Authentication methods

1.Authentication via Laravel/UI


2.Authentication via Laravel Breeze
3.Laravel Jetstream or Fortify
3. Authentication via Laravel/UI

•Was the first authentication method used with versions 6 and 7 and even 8
•Can be used with version 10 as well.
•Authentication done with the artisan auth:make command If you've worked with Laravel for a while, you'll remember this command.
•The functionality that auth:make provided was removed and put into a separate package called laravel/ui.

•Command used: composer require laravel/ui
4. Authentication via Breeze

•Breeze is an upgrade of the Laravel/UI


•Just like Laravel/UI, Breeze also installs minimal implementation of all of Laravel's authentication features, including login, registration,
password reset, email verification, and password confirmation.
5. Breeze Installation Steps

1.composer require laravel/breeze –dev


2.php artisan breeze:install
3.npm install
4.npm run dev
5.create database setting
6.Run Migrations
6. Authentication via Jetstream

•Laravel Jetstream provides more robust features and additional frontend technology stacks as compared to Laravel Breeze

• For beginners, its recommended that you learn Breeze Laravel Breeze before graduating to Laravel Jetstream.
7. The Jetstream Package

•Provides a beautifully designed application scaffolding for Laravel and includes login, registration, email verification, two-factor authentication,
session management, API support via Laravel Sanctum, and optional team management.
•Designed using Tailwind CSS and offers your choice of Livewire or Inertia driven frontend scaffolding.

You might also like