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

HartleySan's avatar

HartleySan liked a comment+100 XP

3w ago

Is it possible to run code / DB queries in parallel in Laravel?

For independent SELECT queries, you can run them concurrently using native async DB APIs. I built a small package for this:

https://github.com/Kosadchiy/laravel-parallel-db