Download the PHP package disrex/magewire-backend-patcher without Composer

On this page you can find all versions of the php package disrex/magewire-backend-patcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magewire-backend-patcher

Magewire Backend Patcher

The Magewire Backend Patcher is a Composer Plugin designed to seamlessly apply a patch to the Magewire module, enabling full support for using Magewire in Magento 2's backend. This plugin automatically patches the Magewire module on installation or update, ensuring that it implements backend-compatible functionality.

Features

Requirements

Installation

Add the Magewire Backend Patcher to your project via Composer:

The patch will be automatically applied during installation or update if the magewirephp/magewire module is present in the project.

How It Works

  1. Automatic Patch Application
    On running Composer commands like composer install or composer update, this plugin automatically looks for the Magewire module at vendor/magewirephp/magewire, and applies a pre-defined backend patch file to enable backend support.

  2. Patch File Location
    The patch file is located in the vendor/disrex/magewire-backend-patcher/patches directory, named magewire-backend.patch.

  3. Validation
    Before applying the patch, the plugin checks:
    • If the target directory (vendor/magewirephp/magewire) exists.
    • If the patch file is available.
    • Whether the patch is already potentially applied, notifying the user accordingly.

Usage

After installation, the patching process is entirely automated. No further configuration is required.

If you need to check the status of the patch, you can compare the contents of the magewirephp/magewire module with the patch file. Alternatively, reinstalling or updating the module with Composer will trigger the patch process again.

Manual Trigger (Optional)

If for any reason you need to manually apply the patch after installation, you can do so by running the following Composer script:

This will reapply the patch and display whether it was successful.

Limitations

Patch Details

This plugin applies changes included in the patch that:

Related Links

For the complete list of changes applied by the patch, you can inspect the patch file at vendor/disrex/magewire-backend-patcher/patches/magewire-backend.patch.

Contributing

Contributions are welcome! If you find an issue or have improvements to suggest, feel free to open a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Support

For any issues or questions, please contact the Disrex team at [email protected].


All versions of magewire-backend-patcher with dependencies

PHP Build Version
Package Version
Requires composer-plugin-api Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package disrex/magewire-backend-patcher contains the following files

Loading the files please wait ....