using event listener for queues code example Example: laravel event listener php artisan event:generate