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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners