Source: martinjoo.dev

Blog for Laravel Artisans
We all love job queues and workers. But I meet a lot of junior and medior developers who think that job queues in Laravel is some kind of magic.

The basics of a Redis job queue (or any other kind of queue) is really simple, so in this blog post we're gonna implement a really simple one.

The difference is in a Laravel job queue you put serialized PHP objects (the Job classes) to the queue instead of integers.

If a queue can be implemented using an array than we need to find an array-like data structure in Redis.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners