Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-18T09:52:55.000Z (over 2 years ago)
- Last Synced: 2024-10-20T09:17:02.417Z (4 months ago)
- Topics: authentication, laravel, multi-auth-laravel
- Language: PHP
- Homepage:
- Size: 73.2 KB
- Stars: 47
- Watchers: 2
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Breeze Multiauth
[![Laravel](https://github.com/painlesscode/breeze-multiauth/workflows/Laravel/badge.svg)](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
```
## UsageYou 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
```