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

forefront's avatar

Laravel Horizon in Web API

Hi,

I was wondering if Laravel Horizon would work with multiple application servers as well as multiple worker servers.

I was thinking if every server has the same application on so the API and Horizon then the application server won't have any workers running whilst the worker servers will have just Horizon workers and no API connection?

Thanks

0 likes
1 reply
bobbybouwmann's avatar
Level 88

Horizon would work just fine for that, at least from my experience. In general you would deploy a server with the same application and run your queue on there. Another server would then server the application for your users. Your horizon worker needs the same application since it will just fire of the queue and perform the task at hand.

1 like

Please or to participate in this conversation.