Monitor user activity on laravel application with Laravel user activity package. It has build-in beautiful responsive & user-friendly UI with various useful features.
// Step 1: Composer require
composer require haruncpi/laravel-user-activity
// Step 2: Now run the artisan command
php artisan user-activity:install
//Now use Loggable trait where you required
<?php namespace App;
use Illuminate\Database\Eloquent\Model;
use Haruncpi\LaravelUserActivity\Traits\Loggable;
class Transaction extends Model
{
use Loggable;
}
// GitHub: https://github.com/haruncpi/laravel-user-activity