rubensrocha/laravel-breeze-multi-auth-admin

Multi auth admin with Laravel Breeze

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 38

Watchers: 2

Forks: 12

Open Issues: 0

Language:JavaScript

Type:project

dev-main 2022-05-20 19:25 UTC

This package is auto-updated.

Last update: 2024-04-20 23:47:36 UTC


README

GitHub issues GitHub forks Total Downloads GitHub license

About This Repository

This is a repository created to serve as a basis for those who intend to create a Laravel project using Breeze with multiple guards/auth, where it is possible to create a website and an admin panel with separate authentication for each one.

Unlike many tutorials that teach you how to achieve this goal, this repository is in fact complete and has all the basic functional functions in the admin panel.

Site(User)

  • Register
  • Login
  • Logout
  • Forgot Password
  • Reset Password
  • Confirm Password
  • Verify Email

Admin

  • Login with email or username
  • Logout
  • Forgot Password
  • Reset Password
  • Confirm Password
  • Verify Email

Installation

Clone this repo

git clone https://github.com/laravel/breeze.git

Create env file and set up your DB connection

cp .env.example .env

Generate key

php artisan key:generate

Install packages

composer install

Run migrations without admins/users

php artisan migrate

Or run migrations with admins/users

php artisan migrate --seed

Default password for admin and users is "password"

References

Contributing

Anyone who wants to make some improvement just make a Pull-Request.

If you can achieve the same goal using Jetstream, please share your solution with me as I am very interested.

License

The Laravel framework and this repository is open-sourced software licensed under the MIT license.