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
Admin Credential
Password | |
---|---|
admin@admin.com | password |
User Credential
Password | |
---|---|
user@user.com | password |
Download Source Code
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
orcomposer update
- Run
php artisan key:generate
- Run
php artisan migrate
- Run
php artisan db:seed
Share your feedback 👇
Top comments (1)
auth now working nothing is made in controllers