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

Respect's avatar

how to listen globally to livewire updating hook from AppServiceProvider.php

how to listen globally to livewire updating hook from AppServiceProvider.php in boot method

  • Does not work
        \Livewire\Livewire::listen('component.updating', function ($component) {
            // This will now catch the internal "Livewire\Generated\Component..." classes
            throw new \Exception('Global Boot Caught SFC: ' );
        });
1 like
1 reply

Please or to participate in this conversation.