Livewire
When an error occurs in a Livewire component, Flare will automatically collect:
- The component class
- The updates made in the request
- The data present in the component
This data will be collected for all the components in the current Livewire request.
This functionality is enabled by default, but you can disable it by ignoring the Livewire
collect in config.php
:
use Spatie\LaravelFlare\Enums\LaravelCollectType;
'collects' => FlareConfig::defaultCollects(
ignore: [LaravelCollectType::LivewireComponents],
),