painlesscode / breeze-multiauth

Multi authentication guard generator for laravel breeze.
Other
47 stars 10 forks source link
authentication laravel multi-auth-laravel

Breeze Multiauth

Laravel

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:

composer require painlesscode/breeze-multiauth --dev

Usage

You just need to run one artisan command.

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

php artisan breeze:multiauth Administrator --asset

If you want to replace existing files, you can run

php artisan breeze:multiauth Administrator --force

Now, Migrate,

php artisan migrate

Test

You can test newly created authentication system by

php artisan test