langleyfoxall/laravel-authentication-log
Composer 安装命令:
composer require langleyfoxall/laravel-authentication-log
包简介
Logs authentication requests
README 文档
README
Description
A package to listen for various Authenticatable events and log them in a database
Installation
To install, enter the following inside the terminal within your working directory:
composer require langleyfoxall/laravel-authentication-log
Once the package has been installed, run your migrations and ensure to use the trait HasAuthenticatable in all models to be logged.
All events are logged within the authentication_log_records table.
Configuration
Within the auth-log.php config file, you may specfiy what you would like to log.
You may change:
- Events to log, by commenting out the unwanted events,
- Credentials to not be logged, by adding the fields within
credentialsToOmit, - Fields to not be logged, by adding the fields within
fieldsToOmit, - Accepted Guards, by adding the specified guards within
acceptedGuards
Commands
php artisan laravel-authentication-log:showlog
This command will display the data stored in the Authentication Log Records table
Features
This package can log the following:
- Successful Logins
- Failed Logins
- Successful Logouts
- Password Resets
- Lockouts
- Registering New Users
Features can be configured through config/auth-log.php.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-18