https://github.com/painlesscode/breeze-multiauth
Multi authentication guard generator for laravel breeze.
https://github.com/painlesscode/breeze-multiauth
authentication laravel multi-auth-laravel
Last synced: 7 months ago
JSON representation
Multi authentication guard generator for laravel breeze.
- Host: GitHub
- URL: https://github.com/painlesscode/breeze-multiauth
- Owner: painlesscode
- License: other
- Created: 2020-12-09T14:41:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-18T09:52:55.000Z (over 3 years ago)
- Last Synced: 2025-06-23T05:07:15.444Z (7 months ago)
- Topics: authentication, laravel, multi-auth-laravel
- Language: PHP
- Homepage:
- Size: 73.2 KB
- Stars: 47
- Watchers: 1
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Breeze Multiauth
[](https://github.com/painlesscode/breeze-multiauth/actions?query=workflow%3ALaravel)
laravel breeze with multi authentication system.
If you want to create standalone authentication system like default laravel user authentication system but using different guard, this package will help you.
## Installation
You can install the package via composer:
``` bash
composer require painlesscode/breeze-multiauth --dev
```
## Usage
You just need to run one artisan command.
```sh
php artisan breeze:multiauth Administrator
```
Here, `Administrator` is the role name of newly created authentication system.
You can log in with `http://example.com/administrator/login`
This Package does not provides assets (css/js) by default.
If you want assets too, you can run
```sh
php artisan breeze:multiauth Administrator --asset
```
If you want to replace existing files, you can run
```sh
php artisan breeze:multiauth Administrator --force
```
Now, Migrate,
```sh
php artisan migrate
```
## Test
You can test newly created authentication system by
```sh
php artisan test
```