diviky/laravel-security
Composer 安装命令:
composer require diviky/laravel-security
包简介
Provides security settings and login history
README 文档
README
Installation
Package requires Laravel 7 or higher, and PHP 7.0+.
You may use Composer to install package into your Laravel project:
composer require diviky/laravel-security
Configuration
After installing the package, publish its config, migration and view, using the vendor:publish Artisan command:
php artisan vendor:publish --provider="Diviky\Security\SecurityServiceProvider"
Next, you need to migrate your database. The Laravel Authentication Log migration will create the table your application needs to store authentication logs:
php artisan migrate
Avaliable Middlewars
'firewall.blacklist' 'firewall.whitelist' 'firewall.attacks' '2fa' '2fa.remember' '2fa.stateless' 'security.password' // Check is password very older 'security.headers' // Add headers
License
Laravel Authentication Log is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 23.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-07