PHPackages                             magewirephp/magewire - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. magewirephp/magewire

ActiveMagento2-module[Framework](/categories/framework)

magewirephp/magewire
====================

A framework that makes building reactive and dynamic interfaces simple in Magento 2

1.13.3(4mo ago)2561.2M↓11.4%46[10 PRs](https://github.com/magewirephp/magewire/pulls)20MITJavaScriptPHP &gt;=8.1CI passing

Since Nov 3Pushed 1mo ago16 watchersCompare

[ Source](https://github.com/magewirephp/magewire)[ Packagist](https://packagist.org/packages/magewirephp/magewire)[ GitHub Sponsors](https://github.com/wpoortman)[ RSS](/packages/magewirephp-magewire/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (70)Used By (20)

Magewire PHP - BETA
===================

[](#magewire-php---beta)

> **⚠️ 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](%5B../../tree/1.x%5D(https://github.com/magewirephp/magewire/tree/1.x)).

[![Latest Stable Version](https://camo.githubusercontent.com/d173b7e2a6ff773ec39abbc534b8f348cc24e6c81db47fc3f44828660cfbe389/687474703a2f2f706f7365722e707567782e6f72672f6d616765776972657068702f6d616765776972652f76)](https://packagist.org/packages/magewirephp/magewire)[![Total Downloads](https://camo.githubusercontent.com/8cc279740497ac7150352afb9c620b066a56a716520455b2ef05702ecb507e45/687474703a2f2f706f7365722e707567782e6f72672f6d616765776972657068702f6d616765776972652f646f776e6c6f616473)](https://packagist.org/packages/magewirephp/magewire)[![style CI](https://camo.githubusercontent.com/43644ebea351e5a4f49c1739e481f888a9cc000413912bea5bab254ea15cfe60/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3431343936373430342f736869656c643f7374796c653d666c6174266272616e63683d6d61696e)](https://github.styleci.io/repos/414967404/shield?style=flat&branch=main)[![License](https://camo.githubusercontent.com/37b19ddbfba383e5e051c58d59297b317b9e9e682d6f74dbcdf09cf1567983bd/687474703a2f2f706f7365722e707567782e6f72672f6d616765776972657068702f6d616765776972652f6c6963656e7365)](https://packagist.org/packages/magewirephp/magewire)

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.

[![Discord](https://camo.githubusercontent.com/1b095f84865e5b8ec6565d04239ad16cddf97724d44850f030cb09fa5e9e3ee7/68747470733a2f2f646362616467652e76657263656c2e6170702f6170692f7365727665722f524d356e6e4b3577786a)](https://discord.gg/zS7z7rmH)

Documentation
-------------

[](#documentation)

- [Gettings Started](https://magewirephp.github.io/magewire-docs/index.html)
- [Essentials](https://magewirephp.github.io/magewire-docs/pages/essentials/components.html)
- [Features](https://magewirephp.github.io/magewire-docs/pages/features/alpine.html)
- [Directives](https://magewirephp.github.io/magewire-docs/pages/html-directives/wire-click.html)
- [Concepts](https://magewirephp.github.io/magewire-docs/pages/concepts/morphing.html)
- [Advanced](https://magewirephp.github.io/magewire-docs/pages/advanced/troubleshooting.html)

Sponsors
--------

[](#sponsors)

[![Vendic](https://user-images.githubusercontent.com/5383956/228823594-d3344d87-dadc-4c36-a212-89cba8c7340b.jpg)](https://vendic.nl/ "Vendic")[![Zero 1](https://private-user-images.githubusercontent.com/5383956/302269791-6f385d3c-87c9-433d-8921-c40de0f00573.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyNjY5MTIsIm5iZiI6MTc3NTI2NjYxMiwicGF0aCI6Ii81MzgzOTU2LzMwMjI2OTc5MS02ZjM4NWQzYy04N2M5LTQzM2QtODkyMS1jNDBkZTBmMDA1NzMuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MDRUMDEzNjUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTBjMDEyNmI2NTUxNTNkNGQ1OTg2NzA1OGU2Yjg4NGNmNWI1OWJkYzhhZWE5MjI1MmQzZWVjYzQ4MWVkZDNiNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.e-uavjsvhObEn8aiaA5QdOjTXUQLP7WP_FkC_CwVIbk)](https://www.zero1.co.uk/ "Zero 1")Click [here](https://github.com/sponsors/wpoortman) to start sponsoring.

Installation
------------

[](#installation)

To install Magewire in your Magento 2 project, follow these steps:

1. Require Magewire via Composer: ```
    composer require magewirephp/magewire
    ```
2. Enable the module: ```
    bin/magento module:enable Magewirephp_Magewire
    ```
3. Enable the theme compatibility module (determined per theme, in this case Hyvä): ```
    bin/magento module:enable Magewirephp_MagewireCompatibilityWithHyva
    ```
4. Run the setup upgrade command: ```
    bin/magento setup:upgrade
    ```
5. Deploy static content (when in production mode): ```
    bin/magento setup:static-content:deploy
    ```
6. Flush the cache: ```
    bin/magento cache:flush
    ```

Code
----

[](#code)

### Styles

[](#styles)

To run styles, follow these steps:

1. Install packages:

```
npm ci
```

2. Run styles:

```
npx @tailwindcss/cli -i ./styles/magewire.css -o ./src/view/base/web/css/magewire.css --optimize
```

Use the `--watch` flag to re-compile on template changes.

Contributing
------------

[](#contributing)

Thank you for considering contributing to Magewire! Please read the [contribution guide](https://github.com/magewirephp/magewire/blob/main/CONTRIBUTING.md) to know how to behave, install and use Magewire for contributors.

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the Magewire is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/magewirephp/magewire/blob/main/CODE_OF_CONDUCT.md).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within Magewire, please create a [merge request](https://github.com/magewirephp/magewire/pulls) or an [discussion](https://github.com/magewirephp/magewire/discussions). All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

Copyright © [Willem Poortman](https://github.com/wpoortman)

Magewire is open-sourced software licensed under the [MIT license](LICENSE.md).

> 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.

###  Health Score

67

—

FairBetter than 100% of packages

Maintenance84

Actively maintained with recent releases

Popularity60

Solid adoption and visibility

Community43

Growing community involvement

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 68.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~31 days

Recently: every ~75 days

Total

51

Last Release

68d ago

Major Versions

1.13.1 → 3.0.0-beta.12025-09-06

PHP version history (2 changes)1.4.0PHP &gt;=7.4

1.13.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5383956?v=4)[Willem Poortman](/maintainers/wpoortman)[@wpoortman](https://github.com/wpoortman)

![](https://avatars.githubusercontent.com/u/91219612?v=4)[Magewire PHP](/maintainers/magewirephp)[@magewirephp](https://github.com/magewirephp)

---

Top Contributors

[![wpoortman](https://avatars.githubusercontent.com/u/5383956?v=4)](https://github.com/wpoortman "wpoortman (126 commits)")[![Vinai](https://avatars.githubusercontent.com/u/72463?v=4)](https://github.com/Vinai "Vinai (13 commits)")[![magewirephp](https://avatars.githubusercontent.com/u/91219612?v=4)](https://github.com/magewirephp "magewirephp (9 commits)")[![pykettk](https://avatars.githubusercontent.com/u/40261741?v=4)](https://github.com/pykettk "pykettk (6 commits)")[![Tjitse-E](https://avatars.githubusercontent.com/u/14849044?v=4)](https://github.com/Tjitse-E "Tjitse-E (4 commits)")[![ryanhissey](https://avatars.githubusercontent.com/u/9078889?v=4)](https://github.com/ryanhissey "ryanhissey (4 commits)")[![adamzero1](https://avatars.githubusercontent.com/u/6369163?v=4)](https://github.com/adamzero1 "adamzero1 (2 commits)")[![KamilBalwierz](https://avatars.githubusercontent.com/u/2470799?v=4)](https://github.com/KamilBalwierz "KamilBalwierz (1 commits)")[![kolaente](https://avatars.githubusercontent.com/u/13721712?v=4)](https://github.com/kolaente "kolaente (1 commits)")[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (1 commits)")[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (1 commits)")[![MartinNguyen211](https://avatars.githubusercontent.com/u/35549842?v=4)](https://github.com/MartinNguyen211 "MartinNguyen211 (1 commits)")[![mehmetuygun](https://avatars.githubusercontent.com/u/4094099?v=4)](https://github.com/mehmetuygun "mehmetuygun (1 commits)")[![Morgy93](https://avatars.githubusercontent.com/u/7961978?v=4)](https://github.com/Morgy93 "Morgy93 (1 commits)")[![mvenghaus](https://avatars.githubusercontent.com/u/6408081?v=4)](https://github.com/mvenghaus "mvenghaus (1 commits)")[![peterjaap](https://avatars.githubusercontent.com/u/431360?v=4)](https://github.com/peterjaap "peterjaap (1 commits)")[![ProxiBlue](https://avatars.githubusercontent.com/u/4994260?v=4)](https://github.com/ProxiBlue "ProxiBlue (1 commits)")[![psopacua](https://avatars.githubusercontent.com/u/8684383?v=4)](https://github.com/psopacua "psopacua (1 commits)")[![jeroennoten](https://avatars.githubusercontent.com/u/4370753?v=4)](https://github.com/jeroennoten "jeroennoten (1 commits)")[![quanghien95](https://avatars.githubusercontent.com/u/11818221?v=4)](https://github.com/quanghien95 "quanghien95 (1 commits)")

---

Tags

magento2magento2-module

### Embed Badge

![Health badge](/badges/magewirephp-magewire/health.svg)

```
[![Health](https://phpackages.com/badges/magewirephp-magewire/health.svg)](https://phpackages.com/packages/magewirephp-magewire)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[laravel/reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.

1.6k9.4M48](/packages/laravel-reverb)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[laravel/browser-kit-testing

Provides backwards compatibility for BrowserKit testing in the latest Laravel release.

5139.4M286](/packages/laravel-browser-kit-testing)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
