DEV Community

Cover image for Laravel Multiple Authentication
vinoth
vinoth

Posted on

Laravel Multiple Authentication

How to create Laravel 8 Multiple Authentication

I created Laravel Multi Auth system for both Admin and User side. For example, if you login with Admin credential, you will be redirected to the Admin Dashboard
If you login with User credential, you will be redirected to the User Dashboard

laravel

Admin Credential

Email Password
admin@admin.com password

User Credential

Email Password
user@user.com password

Download Source Code

◽Check it out Link
Github

Features

  • Login page for both Admin and User

  • Dashboard for both Admin and User side with different routes

  • Register New User

How to Install?

  • Clone the repository Link
  • Rename .env.example file to .env
  • Need database connection and Create database
  • Run composer install or composer update
  • Run php artisan key:generate
  • Run php artisan migrate
  • Run php artisan db:seed

Share your feedback 👇

Top comments (1)

Collapse
 
harmansharma113 profile image
HarmanSharma113

auth now working nothing is made in controllers