phgov / auditlog
User activity log manager. All kind of database activity will be tracked
dev-master
2023-04-11 08:14 UTC
This package is auto-updated.
Last update: 2026-03-11 14:44:47 UTC
README
About myGov Detector
User activity log manager. All kind of database activity will be
Run the following command to pull in the latest version:
composer require phgov/auditlog
Lumen only
Register the provider in your boostrap app file bootstrap/app.php
Add the following line in the "Register Service Providers" section at the bottom of the file.
$app->register(\phGov\Auditlog\LogtrackerServiceProvider::class);
For facades, uncomment $app->withFacades(); in your boostrap app file bootstrap/app.php
After composer update run this command in your project
php artisan migrate
Use this Trait in your model
use Logtrackerable
License
The phGov Detector is open-sourced software licensed under the MIT license.