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

triadi's avatar
Level 1

Dispatch Livewire Event from Job to Browser?

Hi everyone!

I'm using Livewire 2 and wondering if it's possible to dispatch a Livewire event from a queued job and listen to it in the browser?

Here’s my use case:

I have an import XLSX feature. The import process runs as a queued job in Laravel. When the import is completed, I want to dispatch an event that the browser (Livewire component) can listen to in order to show a flash message. Is there a way to achieve this with Livewire 2.

Any help would be greatly appreciated. Thanks!

1 like
1 reply
vincent15000's avatar

The only way to do that is to use a websocket.

1 like

Please or to participate in this conversation.