Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/majid-razzaq/laravel-multi-auth

Build a multi-authentication system in Laravel 11 with separate guards, providers, and middlewares for user and admin dashboards. Learn to create and utilize middleware, covering guest and authenticated middleware, with a focus on admin login and user registration.
https://github.com/majid-razzaq/laravel-multi-auth

authentication laravel laravel-11 laravel-aliases laravel-application laravel-auth laravel-authentication laravel-crud laravel-middleware laravel-multiauth laravel-user-management php8

Last synced: about 1 month ago
JSON representation

Build a multi-authentication system in Laravel 11 with separate guards, providers, and middlewares for user and admin dashboards. Learn to create and utilize middleware, covering guest and authenticated middleware, with a focus on admin login and user registration.

Awesome Lists containing this project

README

        

Laravel Logo

## Laravel Multi-Auth System

## Features

### User Dashboard
Separate user dashboard with dedicated functionality.

### Admin Dashboard
Admin-specific dashboard for complete control over the system.

### Multiple Authentication Guards
Different guards for users and admins to ensure secure authentication.

### User Registration
Seamless registration process for users with validation and security.

### Admin Login
Focused on secure login process for admins, bypassing registration.

### Middleware Integration
Custom middleware for guest access, authenticated routes, and role-based access control.

### Secure Authentication Mechanisms
Utilizes Laravel’s built-in authentication with enhanced security features.

## Requirements
- Laravel 11
- PHP 8.1
- Composer 2.x

## Getting Started
- Clone the repository.
- Run composer install to install dependencies.
- Set up your database configuration in the .env file.
- Run php artisan migrate to set up the necessary tables.
- Implement and customize as needed.

```javascript
composer install
```

```javascript
php artisan migrate
```

```javascript
php artisan serve
```