Easily send auditable user (or any other entity) events to the queue and store them using the Activity Log by spatie.
The logger requires the use of an Enum
class to ensure only allowed events are logged.
Install the package
composer require ollico/laravel-audit-log-queue
This package uses auto-discovery which doesn't require you to manually add the ServiceProvider.
Publish the config
php artisan vendor:publish --provider="Ollico\AuditLog\AuditLogServiceProvider"
This package depends on the terrific Activity Log package by Spatie.