Laravel 13 cheatsheet

Laravel 13: Queues

3 common Laravel 13 tasks.

Create a queued job

Generate a job class for work that can be processed in the background.

php artisan make:job ProcessPodcast

Run a queue worker

Start a worker that processes jobs from the configured queue connection.

php artisan queue:work

Restart queue workers after deployment

Ask workers to exit gracefully after their current job so a process monitor can start workers with the new code.

php artisan queue:restart

Was this page helpful?