light-it-labs/lightit-auth-laravel
最新稳定版本:1.1.3
Composer 安装命令:
composer require light-it-labs/lightit-auth-laravel
包简介
A comprehensive authentication package for Laravel projects, designed to streamline the implementation of various authentication strategies. This package supports JWT-based authentication, Google SSO, Laravel Sanctum, 2FA, OTP, and role-permission systems with standardized examples for seamless inte
关键字:
README 文档
README
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.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-18