magewirephp/magewire
Magewire brings Livewire-style reactive components to Magento 2. Build dynamic, AJAX-powered storefront and admin UI with PHP components, Blade-like templates, state management, validation, and events—without custom JavaScript.
Architecture fit
magento/framework conventions, and a Hyvä/Alpine.js front end. If the target stack is Laravel, the correct analogue is Livewire and this package should not be adopted. If the stack is Magento 2 + Hyvä, it is a first-class fit.Integration feasibility
composer update magewirephp/magewire:3.7.2 --with-all-dependencies, then composer show magewirephp/magewire to confirm the resolved version. No application-code changes are required for projects that only use stock Magewire components.composer.json may hold the resolved version below 3.7.2 and must be raised as part of the upgrade; (2) Hyvä Checkout 1.4.0 beta users may have Magewire pinned transitively and cannot be fixed by a Magewire-only update — they must wait for 1.4.0-beta6, which is not yet released as of this note.Technical risk — High
UPGRADING.md#browser-callable-component-methods).Key questions
composer.json edits.Stack fit
Migration path
composer update magewirephp/magewire:3.7.2 --with-all-dependencies → composer show magewirephp/magewire → review the lockfile diff (Magewire and its transitive deps only) → run the test suite and a smoke pass on custom components → deploy via the project's normal Magento process.UPGRADING.md and the advisory before touching custom component code; the remediation pattern is "wrap the helper in an authorized public action," which is a small but deliberate code change per affected component.Compatibility
Sequencing
UPGRADING.md; identify custom components touching restricted methods/hooks/lazy loading.composer show on the deployed artifact, not just in the repo, to catch image/repo drift.Maintenance
Support
UPGRADING.md), with credit to an external reporter. No stated commercial SLA or LTS commitment — plan for self-support and internal expertise.Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?