User activity monitoring in your laravel application is really easy with Laravel User Activity package. It can monitor user login, lockout, record edit, insert and delete operation with a beautiful UI.
Installation
composer require haruncpi/laravel-user-activity
Now run install command
php artisan user-activity:install
To monitor data edit, delete or insert on certain model use Loggable
trait in your model.
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Haruncpi\LaravelUserActivity\Traits\Loggable; class Invoice extends Model { use Loggable; }
This package has a beautiful UI to check user activity.
http://example.com/admin/user-activity
GitHub repo: Laravel User Activity
Top comments (0)