Logs access and user authentication actions also provides a API resource to preform reports using Spatie :).
waynebrummer/access-telemetry is a Laravel package for logs access and user authentication actions also provides a api resource to preform reports using spatie :)..
It currently has 0 GitHub stars and 266 downloads on Packagist (latest version 1.0.3).
Install it with composer require waynebrummer/access-telemetry.
Discover more Laravel packages by waynebrummer
or browse all Laravel packages to compare alternatives.
Last updated
.env settings Days 180
PRUNE_ACCESS_LOGS_SECONDS=15552000
Via Composer:
composer require waynebrummer/mail-telemetry
Publish the config file and migration files:
php artisan vendor:publish --provider="Pace\AccessTelemetry\ServiceProvider"
Run the migration:
php artisan migrate
Where to start:
Begin by extending adding the event to your login method in your controller. Thats about it for hooking it up.
...
use Pace\AccessTelemetry\Events\RequestLoginEvent as LoginEvent;
...
event(new LoginEvent($credentials, request()->server()));
...