What problem does it solve?
Building interactive Laravel UIs traditionally requires writing JavaScript for reactivity. This Skill provides the patterns and syntax for Livewire 4, letting you create dynamic, reactive interfaces using only PHP and Blade templates.
Core Features & Use Cases
- Component Formats: Create single-file components, multi-file components with separate PHP/Blade/JS/CSS files, and routable page components.
- Data Binding & Actions: Implement wire:model binding variants, wire:click actions, computed properties, event modifiers, and loading states.
- Security Patterns: Apply authorization and validation to protect against client-side manipulation of public properties.
- Use Case: Build a reactive todo list or search interface in a Laravel app where typing in an input instantly filters results, without writing any JavaScript.
Quick Start
Create a Livewire 4 single-file component for a todo list with wire:model binding and a wire:click add action.