Magewire Admin

magewirephp/magewire-admin

Adminhtml compatibility module for Magewire, enabling reactive, server-driven Magewire components inside the Magento 2 backend with the same JavaScript-light developer experience and identical wire:* directives Magewire offers on the storefront.

Installs cleanlyPHPStan level 5Build passing
Supported Magento versions
2.4.9
License
MIT
Categories
Developer Tools

145 installs★ 4 stars90 downloads/monthLatest: v3.0.0Released 2026-04-27

composer require magewirephp/magewire-admin

README

Reproduced from the package’s own README, under its own license, as of 2026-10-31. Links and images point back at the source repository.

Magewire Admin

Latest Stable Version Total Downloads License

Adminhtml compatibility module for Magewire. Enables reactive Magewire components inside the Magento 2 backend (admin panel) with the same server-driven, JavaScript-light developer experience Magewire provides on the storefront.

Requirements

  • PHP 8.2+
  • Magento 2.x
  • magewirephp/magewire ^3.0

Installation

composer require magewirephp/magewire-admin
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

The module sequences after Magento_Backend and Magewirephp_Magewire, so load order is handled automatically.

Browser-test route

In default and developer modes, Magewire Admin exposes an authenticated magewire/playwright admin route. Admin integration modules can contribute fixtures through the magewire_playwright_index layout handle. The route has a stable, secret-key-free URL for browser automation, while Magento's admin authentication and ACL checks remain enforced. It resolves as a no-route response in production mode.

Documentation

See the main Magewire documentation — component API, lifecycle hooks, and wire:* directives are identical between storefront and adminhtml.

Discord

Contributing

See CONTRIBUTING.md.

Code of Conduct

Review and abide by the Code of Conduct.

Security Vulnerabilities

Please do not report security issues publicly. Email magewirephp@wpoortman.nl privately — see SECURITY.md.

License

Copyright © Willem Poortman

Magewire Admin is open-sourced software licensed under the MIT license.

← All packages from magewirephp