This package logs all authentication events in your Laravel application. It logs the following events:
- Login
- Logout
- Failed login
- Logs all authentication events
- Notification on failed login
- Notification on new device login
- PHP 8.3 or higher
- Laravel 11.0 or higher
You can install the package via composer:
composer require akira/laravel-auth-logs
and then run the install command:
php artisan auth-logs:install
This is the contents of the published config file:
return [
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-auth-logs-views"
To use the package all you need to do is add the AuthLogs
trait to your User
model.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.