Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JoseBravo's avatar

JoseBravo started a new conversation+100 XP

3mos ago

Hi,

I’m using Laravel 12.47.0 and trying to use the new background driver.

I added it to the queue.php config file because it wasn’t present, and I also registered \Illuminate\Concurrency\ConcurrencyServiceProvider::class in my providers.

However, when I dispatch a job like this: GenerateUsersReport::dispatch($report)->onConnection('background');

the job does not run. It only works if I remove ->onConnection('background').

What else do I need to configure in order to use this driver correctly?

Thank you.