Livewire

Build dynamic, reactive UI components for Laravel without leaving PHP

Framework
Composer
vv4.4.1
23,572stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
92/100Excellent
Development Activity100
Maintenance100
Community68
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
83/100Excellent
Architecture85
Code Quality86
Innovation84
Learning Curve75

Livewire is a full-stack framework for Laravel that lets developers build dynamic, reactive UI components entirely in PHP, without hand-writing JavaScript or standing up a separate JSON API. Components are PHP classes paired with Blade views; Livewire’s server-side rendering pipeline automatically diffs and patches the DOM over AJAX requests whenever component state changes, giving SPA-like interactivity with server-rendered simplicity.

Maintained by the Laravel team and bundled as a first-class part of the Laravel ecosystem, Livewire is the dominant way Laravel developers add interactivity (forms, live search, file uploads, pagination) without adopting a separate front-end framework like Vue or React.

What You Get

  • PHP Component classes with public properties automatically synced to the browser as reactive state
  • Server-driven DOM diffing/patching so UI updates happen without full-page reloads or a hand-written API
  • Built-in traits for common needs: WithPagination, WithFileUploads, WithoutUrlPagination
  • A Form object abstraction for grouping and validating related input fields
  • An Attributes/ComponentHook system for extending component behavior via lifecycle hooks
  • First-class Laravel integration: service provider, facade, and Blade directive compilation

Common Use Cases

  • Building live search, filtering, or autocomplete UIs backed directly by Eloquent queries
  • Handling multi-step forms and file uploads with server-side validation and no separate API layer
  • Adding real-time table sorting, pagination, and inline editing to Laravel admin panels
  • Building interactive dashboards and widgets without introducing a JS framework build step
  • Progressively enhancing existing Blade views with reactive components one page at a time

Under The Hood

Architecture Livewire’s core loop is: a Blade-rendered component ships an initial HTML snapshot plus a serialized state payload; subsequent user interactions are captured by the JS runtime (js/) and posted back to a Laravel route registered by LivewireServiceProvider, where LivewireManager and the Mechanisms layer rehydrate the correct Component instance, run the requested action/property update, re-render the Blade view, and return a diff the client applies to the live DOM — all orchestrated without the developer writing any client-side request code. Cross-cutting features (file uploads, pagination, URL query-string binding) are implemented as reusable PHP traits (WithFileUploads, WithPagination) mixed into user components, while extensibility hooks live in ComponentHookRegistry/Attributes. Tech Stack PHP 8.1+ built directly against Laravel’s illuminate/* packages (database, routing, support, validation) so it deeply integrates with Eloquent and the container, plus a companion JS runtime (js/, built via npm run build) that handles client-side hydration; testing spans PHPUnit for unit tests and Laravel Dusk for full browser tests (composer test:browser). Code Quality The tests/ directory (plus a legacy_tests/ tree kept for backward-compatibility coverage) exercises both unit and full browser-driven scenarios via Orchestra Testbench and Dusk, reflecting the rigor expected of a framework embedded in the official Laravel ecosystem; a CLAUDE.md file in the repo root also documents AI-assistant-specific contribution guidance. API Design Defining a component is close to writing a plain PHP class with public properties and methods — there is very little required boilerplate to get from zero to an interactive component — but the “magic” of implicit property-to-DOM binding and network round-trips means developers need to internalize Livewire’s request lifecycle to reason about performance and avoid over-fetching on every interaction.

Used by 7 apps in this directory

Other

Akaunting

Invoicing Finance

10,070

Open-source online accounting for small businesses and freelancers — invoices, expenses, and reporting without monthly fees or vendor lock-in.

View details
98
Repo Health
73
Technical
63
Dependency
Updated yesterday
PHP
79%
Apache 2.0

Coolify

Devops · Hosting Control Panel

60,738

Open-source self-hosted PaaS — deploy apps, databases and 280+ services on your own servers with no vendor lock-in

View details
92
Repo Health
86
Technical
72
Dependency
Built with
PHP79%
Blade18%
Updated yesterday
PHP
82%
MIT

Databasement

Databases · Devops · Developer Tools

1,974

Self-hosted database backup manager with a web UI for scheduling, encrypting, and restoring MySQL, PostgreSQL, MongoDB, SQL Server, SQLite, Firebird, and Redis to S3, SFTP, Samba, or local storage.

View details
81
Repo Health
77
Technical
69
Dependency
Built with
PHP82%
Blade17%
Updated 4 days ago
PHP
85%
Other

Invoice Ninja

Invoicing Finance · Project Management

10,008

Self-hostable invoicing, time-tracking, and multi-gateway payment platform for freelancers and small businesses, with built-in e-invoicing compliance for EU and global standards.

View details
97
Repo Health
83
Technical
62
Dependency
Built with
PHP85%
XSLT10%
Updated 2 days ago
PHP
65%
AGPL 3.0

LinkStack

Marketing

3,797

Self-hosted, privacy-focused Linktree alternative with themes, analytics, and a drag-and-drop admin panel.

View details
75
Repo Health
56
Technical
68
Dependency
Built with
PHP65%
Blade35%
Updated 4 weeks ago
PHP
75%
MIT

SendPortal

Marketing

2,159

Self-hosted email marketing with full data control, multi-workspace isolation, and seamless integration with Amazon SES, SendGrid, Mailgun, and more

View details
47
Repo Health
59
Technical
73
Dependency
Built with
PHP75%
Blade25%
Updated 2 years ago
PHP
63%
AGPL 3.0

Vanguard Backup

Devops

37

Self-hosted backup automation for Ubuntu and Debian servers with S3 storage, SSH-based file and database backup, and multi-channel notifications.

View details
33
Repo Health
80
Technical
70
Dependency
Built with
PHP63%
Blade36%
Updated 9 months ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search