Laravel Auth Package simplifies authentication, authorization, roles and permissions setup for Laravel applications. Supporting the following packages
Important
This package is based on and tightly coupled with the Light-it Laravel Boilerplate.
It assumes conventions like:
- Main namespace:
Lightit
- Specific file paths
- Custom exceptions structure
Keep this in mind if you plan to integrate it into a different project.
First, add the repository to your composer.json
:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Light-it-labs/lightit-auth-laravel.git"
}
]
}
Then install the package via Composer:
composer require light-it-labs/lightit-auth-laravel
Once installed, run the setup command:
php artisan auth:setup
If you are using Laravel Sail, you can run:
./vendor/bin/sail artisan auth:setup
This command will guide you through the configuration of your authentication driver(s), Two-Factor Authentication (2FA), and/or Role and Permission system.
For recent changes, see the CHANGELOG.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.