Livewire
Livewire lets you build dynamic, reactive interfaces in Laravel using PHP and Blade — no separate JavaScript application, no API layer to maintain. Two complete guides here: the mature Livewire 3, and Livewire 4 with single-file components, islands and slots.
Pick a guide
The version most production projects still run. Class-based components, the full component model, forms, events, uploads, testing and security.
Livewire 4.xThe current release. Single-file components, islands for partial rendering, slots, built-in drag and drop, optimistic UI directives and scoped CSS.
Livewire 3 → 4Side-by-side comparison and a migration checklist: every breaking change, renamed API and config key, with before/after code.
Which version do I need?
New project? Start with Livewire 4 — it is the current release and the default for new components.
Existing Livewire 3 project? Livewire 4 keeps strong backwards compatibility: class-based components keep working. Read the comparison first to see what breaks before you upgrade.
Maintaining an older codebase? The Livewire 3 guide stays here and stays complete.