disrex/magewire-backend-patcher
最新稳定版本:1.0.3
Composer 安装命令:
composer require disrex/magewire-backend-patcher
包简介
Applies Magewire backend patch automatically when used with Magewire
README 文档
README
Composer plugin that seamlessly applies patches to enable Magewire functionality in Magento 2's backend area. Fully automated patching with no manual intervention required.
⚠️ This plugin is specifically designed for the
magewirephp/magewiremodule. Ensure it's installed before using this patcher.
✅ Installation
Add the Magewire Backend Patcher to your project via Composer:
composer require disrex/magewire-backend-patcher
Note: The patch will be automatically applied during installation or updates if the
magewirephp/magewiremodule is present in the project.
🔧 How It Works
The plugin automatically performs these steps during Composer operations:
- Automatic Detection: Searches for the Magewire module at
vendor/magewirephp/magewire - Patch Application: Applies the backend compatibility patch during
post-installandpost-updatephases - Validation: Checks if patches are already applied and prevents conflicts
- Safety: Includes safeguards against re-application with user warnings
🚀 Features
- ✅ Fully automated - no manual patching required
- ✅ Enables Magewire in both frontend and backend contexts
- ✅ Includes validation checks and conflict prevention
- ✅ Compatible with standard Composer workflows
📋 Requirements
- PHP: ^8.0
- Composer: ^2.0
- Magento: Compatible with Magento 2 environments
- Magewire module:
magewirephp/magewiremust be installed
🛠️ Manual Patch Application
If needed, manually trigger the patch process:
composer run-script post-install-cmd
This will reapply the patch and display the operation status.
📝 Patch Details
This plugin applies changes that:
- Refactor configuration to support both frontend and backend contexts
- Add necessary dependencies, events, and layouts for backend compatibility
- Restructure frontend-specific code for improved shared base usage
Related Resources:
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
👨💻 Support
Have questions or want to collaborate? Open a discussion on GitHub Discussions.
Sponsored by
统计信息
- 总下载量: 651
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-25