despatates / laravel-auditing-job-database
A database driver for the owen-it/laravel-auditing package. Store audits using laravel jobs.
Installs: 2 542
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.0
- owen-it/laravel-auditing: >=8.0
This package is auto-updated.
Last update: 2024-11-04 23:06:50 UTC
README
A database driver for the owen-it/laravel-auditing package. Store audits using laravel jobs.
Installation
Ensure you are using owen-it/laravel-auditing: ^8.0
.
Install the driver with:
composer require despatates/laravel-auditing-job-database
Setup
You need to add the following config entries in config/audit.php
if you need to change the default behaviour of the driver.
The queue
key of the config file should look like so:
...
'queue' => env('AUDIT_QUEUE', true),
...
OR
...
'queue' => env('AUDIT_QUEUE', [
'queue' => 'default',
'connection' => null,
]),
...
The driver
key of the config file should look like so:
...
'driver' => Levell\Auditing\Drivers\JobDatabase::class,
...