Skip to content

Upgrade

Laravel Livewire Documentation Reference

Since Magewire is heavily inspired by Laravel Livewire, many concepts are either identical or very similar. To avoid duplicating documentation, this page only covers Magewire-specific and platform-specific details. For all general concepts and in-depth explanations, you can refer to the corresponding Laravel Livewire documentation.

Livewire Reference

Versioning

It’s important to clarify that Magewire V2 never existed. This decision was made to align major versioning with Livewire and avoid confusion, as Magewire V1 was based on Livewire V2, which already raised questions. With Magewire V3, this issue has been resolved, and version 2 was skipped entirely.

Requirements

Alpine JS

AlpineJS must be removed from your instance before using Magewire. Since Magewire's JavaScript library already includes AlpineJS, having multiple instances can cause conflicts and unexpected issues.

  • Magento version 2.4.4 or later
  • PHP version 8.1 or later

Breaking Changes

The first version of Magewire started as an experiment, with no clear direction or certainty about its future. This meant that some assumptions were made—some of which turned out to be incorrect. These need to be corrected to stay aligned with Livewire’s changes and to ensure that certain features, or those relying on specific concepts, function as intended.

Array Property Hooks

WIP...