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.
- Register
- Login
- Logout
- Forgot Password
- Reset Password
- Confirm Password
- Verify Email
- Login with email or username
- Logout
- Forgot Password
- Reset Password
- Confirm Password
- Verify Email
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"
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.
The Laravel framework and this repository is open-sourced software licensed under the MIT license.