Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Magewire Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Forced security upgrade as a P0, not routine maintenance. GHSA-64j9-rg74-hqc7 is rated High and affects every Magewire release from 3.0.0 through 3.7.1. The product decision is binary: every environment (production, staging, dev, local, demo, test) moves to 3.7.2 on a defined timeline. There is no "accept the risk" option worth defending for a browser-facing component framework.
  • Portfolio and dependency inventory. Agencies and platform teams should treat this as a trigger to enumerate every client project, lockfile, and deployment image pinning Magewire < 3.7.2. PM output: an owner-assigned remediation tracker, not a single ticket.
  • Version-pinning policy. The advisory explicitly calls out root-level constraints that can block the fix. This is a decision about caret ranges vs hard pins for framework dependencies, and whether pins require a documented security-exception review.
  • Refactor budget for custom components. The release restricts browser-callable component methods to application actions, validates event-listener targets, reserves framework lifecycle hooks, and only accepts lazy loading for a genuine placeholder. Any custom component calling inherited Magewire helpers or lifecycle hooks directly from the browser or an event listener needs a deliberate public action that authorizes the operation and calls the helper internally. PM should scope this before committing a release date.
  • Hyvä Checkout 1.4.0 beta risk management. Beta versions may pin an affected Magewire, so a Magewire-only update can be blocked and beta6 is required. Decide whether beta users remain on production paths, and gate any beta dependency behind an explicit risk acceptance.
  • Design-standard update. If we build Magewire components, add an authorization pattern to design review: public application action → authorize → internal helper. This prevents the same class of exposure from reappearing in new code.
  • Build vs buy signal. A coordinated advisory, fixed release, and downstream beta coordination is the vendor behavior you pay for. It argues for staying on the package — unless our custom browser-callable surface is large enough that refactor cost plus multi-client upgrade coordination exceeds the cost of an alternative rendering approach.

When to Consider This Package

Adopt when:

  • You run Magento 2 with a Hyvä theme or Hyvä Checkout and want Livewire-style reactive components without introducing a separate JavaScript SPA or bespoke frontend build.
  • Your team benefits from an upstream-maintained security response process with advisories, CVE-style identifiers, and coordinated downstream releases.
  • You can standardize on 3.7.2 or later — greenfield projects should not start on any release ≤ 3.7.1.

Look elsewhere or pause when:

  • You are not on Magento/Hyvä; the package's value is ecosystem-specific.
  • You depend on browser-callable inherited helpers or lifecycle hooks as a deliberate pattern and cannot absorb the refactor to authorized application actions.
  • You maintain many client installations without a reliable inventory of lockfiles and deployment images — the coordination cost, not the code change, becomes the risk.
  • You need Hyvä Checkout 1.4.0 beta in production; beta pins can block the Magewire fix until beta6 ships.
  • You require a framework-agnostic component layer rather than a Magento-coupled one.

How to Pitch It (Stakeholders)

To executives: A High-severity security advisory (GHSA-64j9-rg74-hqc7) affects Magewire 3.0.0–3.7.1; 3.7.2 fixes it. The remediation is a dependency upgrade plus a lockfile/image audit across every environment and, for agencies, every client project. Effort is bounded and mostly mechanical, with one exception: custom components that expose inherited helpers or lifecycle hooks to the browser may need a small authorization refactor. The upside is that the upstream maintainers shipped a coordinated fix and are coordinating a Hyvä Checkout beta6 release — the dependency is being actively maintained.

To engineering: Upgrade with composer update magewirephp/magewire:3.7.2 --with-all-dependencies, verify with composer show, review the lockfile, test, and deploy through the normal Magento process. If a root-level pin blocks 3.7.2, change the constraint as part of the upgrade. Audit custom components against UPGRADING.md: browser-callable methods must be explicit application actions that authorize the operation and call helpers internally; event-listener targets are now validated; framework lifecycle hooks are reserved; lazy loading requires a genuine placeholder. Hyvä Checkout 1.4.0 beta users must move to beta6 when available and confirm the installed Magewire contains the fix — a Magewire-only update may be blocked by the beta's pin.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk