elf-r/activity_track

Track activity for Laravel

1.0.3 2021-01-07 12:58 UTC

This package is auto-updated.

Last update: 2024-05-07 20:35:47 UTC


README

Track activity for Laravel

Setup

Ensure you have composer installed, then run the following command:

composer require elf-r/activity_track

Next, you should publish package configs and migration by running command php artisan vendor:publish

After publishing, add ElfR\ActivityTrack\Traits\HasActivityTracking.php trait to your App\Models\User.php model. This trait will provide a few helper methods to your model which allow you to inspect the tracked model activity.

Additional

By default package registers activity tracking on successfull or failed login