Laravel 8 multi auth. Redirect users and admins to different pages. Using Laratrust authentication.

Описание к видео Laravel 8 multi auth. Redirect users and admins to different pages. Using Laratrust authentication.

Github repo: https://github.com/Norbertho/Laravel-...

In this video I show how to create laravel 8 multi auth for users like Admin, User, Student, Teacher.... For this laravel 8 authentication I use Laratrust package. We show different page for admin and user, and show different menu for admin and for user. This multi auth system works with laravel 8 fortify, Laravel jetstream, and with LAravel Breeze. After the laravel admin and user login we redirect them to different pages. We using laravel roles and permissions as well.


My twitter:   / norberthalase  

00:00 Intro
02:42 Setup Laravel Breeze
05:38 Setup Laratrust package
12:22 How to assign rols to users like admin
20:09 How to create a controlller in laravel 8
34:30 How to protect routes for admin and for different type of users

#Laravel8MuliAuth #Laratrust #LaravelAuthentication

Комментарии

Информация по комментариям в разработке