phgov / auditlog
User activity log manager. All kind of database activity will be tracked
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
This package is auto-updated.
Last update: 2025-01-11 12:07:20 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.