laravel worker code example
Example 1: run jobs laravel
php artisan queue:work --queue=high,default
Example 2: execute job callback laravel
Queue::after(function (JobProcessed $event) {
// $event->connectionName
// $event->job
// $event->job->payload()
});