Skip to content

Logs access and user authentication actions also provides a API resource to preform reports using Spatie :)

License

Notifications You must be signed in to change notification settings

WayneBrummer/access-telemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Access Telemetry

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

About

Logs access and user authentication actions also provides a API resource to preform reports using Spatie :)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages