painlesscode/breeze-multiauth

Multi authentication system with laravel breeze

v3.1.0 2022-02-19 03:15 UTC

This package is auto-updated.

Last update: 2024-05-19 08:19:05 UTC


README

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