© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
roombroom

Using echo listeners

Hello, is it possible to listen for events using Echo as described here: https://laravel-livewire.com/docs/2.x/laravel-echo ? I can't seem to get it to work. I have the following in my "Page" (/App/Filament/Resources/ResourceName/Pages/Page.php)

    public $showNewOrderNotification = false;
 
    // Special Syntax: ['echo:{channel},{event}' => '{method}']
    protected $listeners = ['echo:orders,OrderShipped' => 'notifyNewOrder'];
 
    public function notifyNewOrder()
    {
        $this->showNewOrderNotification = true;
    }
    public $showNewOrderNotification = false;
 
    // Special Syntax: ['echo:{channel},{event}' => '{method}']
    protected $listeners = ['echo:orders,OrderShipped' => 'notifyNewOrder'];
 
    public function notifyNewOrder()
    {
        $this->showNewOrderNotification = true;
    }


I can see that my event is being triggered in my Ably account, but I don't see that Filament is adding any code that would subscribe the browser to the "orders" channel. Am I missing something or is this not supported?
Livewire
Laravel Echo | Livewire
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Laravel Echo | Livewire
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Table listeners
FilamentFFilament / ❓┊help
3y ago
Custom Listeners in v3
FilamentFFilament / ❓┊help
2y ago
listener not working via echo
FilamentFFilament / ❓┊help
2y ago