.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()));
...