Livewire
Dumps also show the latest state of Laravel Livewire components that are on the page at each browser interaction.
To do this, enable it in the settings.
config/laradumps.php
'send_livewire_components' => true,
Dumps will ignore all components listed inside the array, not tracking their states.
config/laradumps.php
'ignore_livewire_components' => [
// \App\Http\Livewire\Counter::class,
],
Livewire Component:
class Counter extends Component
{
public int $count = 0;
public function increment()
{
$this->count++;
$this->emitTo(Counter2::class, 'count', $this->count);
}
public function render()
{
return view('livewire.counter');
}
}

Last updated