/fuse-laravel:laravel-livewirefrom fuse-laravel
Builds reactive Livewire 4 components on Laravel 13 with wire:model bindings, actions, events, Volt single-file components, Folio routing, validation, and Alpine.js integration.
Ships in fuse-laravel. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
After implementation, run fuse-ai-pilot:sniper for validation.
| Feature | Description |
|---|---|
| Components | Reactive PHP classes with Blade views |
| wire:model | Two-way data binding |
| Actions | Call PHP methods from frontend |
| Events | Component communication |
| Volt | Single-file components |
| Folio | File-based routing |
.blur only syncs client state), not .live everywhereComponent choice?
├── Complex logic → Class-based component
├── Simple page → Volt functional API
├── Medium complexity → Volt class-based
├── Quick embed → @volt inline
└── File-based route → Folio + Volt
Binding type?
├── Form fields (live validation) → wire:model.live.blur
├── Search input → wire:model.live.debounce.300ms
├── Checkbox/toggle → wire:model.live
├── Select → wire:model
└── No sync → Local Alpine x-data
| Topic | Reference | When to Consult |
|---|---|---|
| Components | components.md | Creating components |
| Wire Directives | wire-directives.md | Data binding, events |
| Lifecycle | lifecycle.md | Hooks, mount, hydrate |
| Forms | forms-validation.md | Validation, form objects |
| Events | events.md | Dispatch, listen |
| Alpine | alpine-integration.md | $wire, @entangle |
| File Uploads | file-uploads.md | Upload handling |
| Nesting | nesting.md | Parent-child |
| Loading | loading-states.md | wire:loading, lazy |
| Navigation | navigation.md | SPA mode |
| Testing | testing.md | Component tests |
| Security | security.md | Auth, rate limit |
| Volt | volt.md | Single-file components |
| Topic | Reference | When to Consult |
|---|---|---|
| Folio | folio.md | File-based routing |
| Precognition | precognition.md | Live validation |
| Reverb | reverb.md | WebSockets |
| Template | When to Use |
|---|---|
| BasicComponent.php.md | Standard component |
| FormComponent.php.md | Form with validation |
| VoltComponent.blade.md | Volt patterns |
| DataTableComponent.php.md | Table with search/sort |
| FileUploadComponent.php.md | File uploads |
| NestedComponents.php.md | Parent-child |
| ComponentTest.php.md | Testing patterns |
class Counter extends Component
{
public int $count = 0;
public function increment(): void
{
$this->count++;
}
public function render()
{
return view('livewire.counter');
}
}
<?php
use function Livewire\Volt\{state};
state(['count' => 0]);
$increment = fn() => $this->count++;
?>
<button wire:click="increment">{{ $count }}</button>
<input wire:model.live.blur="email">
<input wire:model.live.debounce.300ms="search">
<button wire:click="save" wire:loading.attr="disabled">Save</button>
Livewire 4 (current 4.4) is the current major, used by the L13 Livewire starter kit. Key points:
#[Locked], #[Computed], #[On] still supportedmake_command.type = sfc by default); Volt stays on 1.x (current 1.11), Folio on 1.x (current 1.2)Route::livewire('/dashboard', Dashboard::class) is now the recommended method (mandatory for single/multi-file components)/livewire-{hash}/update (derived from APP_KEY) instead of /livewire/update — update firewall/CDN/middleware rules that target /livewire/wire:model.live: parallel requests; wire:poll is non-blockingcomposer require livewire/livewire:^4.0 then php artisan optimize:clearlayout → component_layout (layouts::app), lazy_placeholder → component_placeholder; smart_wire_keys = true by default.blur / .change also control client-side sync → for the old behavior (network request on blur) write wire:model.live.blurwire:model ignores events from children (add .deep if needed); <livewire:x /> tags must be closedwire:transition uses the View Transitions API (modifiers removed); wire:scroll → wire:navigate:scroll$this->stream(): to: renamed el:; $wire.$js('name', fn) deprecated → $wire.$js.name = fnwire:poll.5s, $this->dispatch('event'), Form Objects (#[\Livewire\Attributes\Validate]) → unchangedreferences/alpine-integration.md (opens in a new tab)references/components.md (opens in a new tab)references/events.md (opens in a new tab)references/file-uploads.md (opens in a new tab)references/folio.md (opens in a new tab)references/forms-validation.md (opens in a new tab)references/lifecycle.md (opens in a new tab)references/loading-states.md (opens in a new tab)references/navigation.md (opens in a new tab)references/nesting.md (opens in a new tab)references/precognition.md (opens in a new tab)references/reverb.md (opens in a new tab)references/security.md (opens in a new tab)references/templates/BasicComponent.php.md (opens in a new tab)references/templates/ComponentTest.php.md (opens in a new tab)references/templates/DataTableComponent.php.md (opens in a new tab)references/templates/FileUploadComponent.php.md (opens in a new tab)references/templates/FormComponent.php.md (opens in a new tab)references/templates/NestedComponents.php.md (opens in a new tab)references/templates/VoltComponent.blade.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
23 skills in this plugin
/fusecoreUse when creating modules, understanding FuseCore structure, or implementing features in a FuseCore modular-monolith Laravel project./laravel-ai-sdkUse when integrating AI agents, tool calling, embeddings, structured output, or streaming in Laravel 13 via the `laravel/ai` package./laravel-apiUse when creating API endpoints, transforming responses with API Resources, or handling API authentication, rate limiting, or versioning.npx claudepluginhub fusengine/claude-plugins --plugin fuse-laravelOther plugins' skills for the same job