定制 disrex/magewire-backend-patcher 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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/magewire module. 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/magewire module 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-install and post-update phases
  • 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/magewire must 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.

Disrex T-Rex Mascot Waving

Sponsored by

Disrex Logo

统计信息

  • 总下载量: 803
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固