lightit-auth-laravel maintained by light-it-labs
Laravel Auth Package
Laravel Auth Package simplifies authentication, authorization, roles and permissions setup for Laravel applications. Supporting the following packages
Contents
Installation
[!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.
Changelog
For recent changes, see the CHANGELOG.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.