using livewire in a laravel component code example Example: install livewire laravel composer require livewire/livewire