magewirephp / magewire
A framework that makes building reactive and dynamic interfaces simple in Magento 2
Fund package maintenance!
wpoortman
Installs: 637 844
Dependents: 29
Suggesters: 0
Security: 0
Stars: 244
Watchers: 16
Forks: 43
Open Issues: 7
Language:JavaScript
Type:magento2-module
Requires
- php: >=8.1
- magento/framework: *
- rakit/validation: ^1.0
- symfony/http-foundation: ^5.4 || ^6.0 || ^7.0
- dev-main
- 1.x-dev
- 1.13.1
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.1
- 1.11.0
- 1.10.10
- 1.10.9
- 1.10.8
- 1.10.7
- 1.10.6
- 1.10.5
- 1.10.4
- 1.10.3
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- dev-release-please--branches--main
- dev-release/1.12.1
- dev-V1/improvements/component-loader-styling
- dev-improvements/component-loader-styling
- dev-release/1.12.0
- dev-V1/feature/upload-component-reinstate
- dev-feature/upload-component-reinstate
- dev-feature/component-loader-overlay
- dev-pullrequests/speedupmate/validation-fallback-to-json
- dev-V1/experimental/loader-with-promises
- dev-experimental/loader-with-promises
- dev-docs/issues-markdown
- dev-bugfix/updating-nested-values-on-sync
- dev-feature/plugin-extends
- dev-improvements/injected-hydrator-sortorder
- dev-bugfix/currupt-payload-exception-message
- dev-improvements/loader-without-notifications
- dev-release/1.10.6
- dev-improvements/nested-input-sync-methods
- dev-v1/improvements/nested-input-sync-methods
- dev-release/1.9.2
- dev-release/1.8.6
- dev-release/1.7.6
- dev-V1/feature/widget-resolver
- dev-feature/widget-resolver
- dev-V1/feature/dynamic-layout-v2
- dev-feature/dynamic-layout-v2
- dev-V1/feature/dynamic-update-actions
- dev-feature/dynamic-update-actions
- dev-V1/feature/query-string
- dev-feature/query-string
- dev-V1/feature/virtual-type
- dev-feature/virtual-type
- dev-V1/feature/component-upload
- dev-feature/component-upload
- dev-V1/feature/wireable-interface
- dev-feature/wireable-interface
This package is auto-updated.
Last update: 2025-06-03 09:33:06 UTC
README
⚠️ BETA WARNING: The main branch contains the beta version of MagewirePHP v3. For stable v1 documentation and releases, please switch to the 1.x branch.
MagewirePHP brings the power of reactive, server-driven UI development to Magento 2—without writing JavaScript. Inspired by Laravel Livewire, MagewirePHP lets you build dynamic, interactive frontend components using only PHP, fully integrated with Magento’s architecture.
Whether you're creating real-time search, dynamic product forms, or interactive checkout steps, MagewirePHP enables a clean, component-based approach that stays true to Magento’s conventions while simplifying complex frontend behavior.
- ✅ Write less JavaScript
- ✅ Maintain component logic in PHP
- ✅ Ideal for dynamic UIs like filters, modals, and configurators
MagewirePHP helps you deliver modern UX experiences in Magento—faster, cleaner, and with less frontend overhead.
Documentation
Installation
To install Magewire in your Magento 2 project, follow these steps:
- Require Magewire via Composer:
composer require magewirephp/magewire
- Enable the module:
bin/magento module:enable Magewirephp_Magewire
- Enable the theme compatibility module (determined per theme, in this case Hyvä):
bin/magento module:enable Magewirephp_MagewireCompatibilityWithHyva
- Run the setup upgrade command:
bin/magento setup:upgrade
- Deploy static content (when in production mode):
bin/magento setup:static-content:deploy
- Flush the cache:
bin/magento cache:flush
Sponsors
![]() |
Click here to start sponsoring.
Contributing
Thank you for considering contributing to Magewire! Please read the contribution guide to know how to behave, install and use Magewire for contributors.
Code of Conduct
In order to ensure that the Magewire is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
If you discover a security vulnerability within Magewire, please create a merge request or an discussion. All security vulnerabilities will be promptly addressed.
License
Copyright © Willem Poortman
Magewire is open-sourced software licensed under the MIT license.
It's important to emphasize that this package is completely independent of any business entities. There is absolutely no involvement or interference from other companies expressing their preferences. This package is created by the community, for the community, ensuring its integrity and unbiased nature.