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.
- PHP 8.2+
- Magento 2.x
magewirephp/magewire^3.0
composer require magewirephp/magewire-admin
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flushThe module sequences after Magento_Backend and Magewirephp_Magewire, so load order is handled automatically.
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.
See the main Magewire documentation — component API, lifecycle hooks, and wire:* directives are identical between storefront and adminhtml.
See CONTRIBUTING.md.
Review and abide by the Code of Conduct.
Please do not report security issues publicly. Email magewirephp@wpoortman.nl privately — see SECURITY.md.
Copyright © Willem Poortman
Magewire Admin is open-sourced software licensed under the MIT license.