A Composer plugin to apply patches from local or remote files to any package within a project.
Vaimo Composer Patches is a Composer plugin that allows developers to apply patches to any package within a PHP project. It solves the problem of needing to modify third-party dependencies without maintaining separate forks, enabling custom fixes or compatibility adjustments. The plugin supports patches from both local files and remote URLs, with features like versioning, sequencing, and configurable patch appliers.
PHP developers working on projects that require modifications to Composer dependencies, particularly those maintaining legacy systems or applying temporary fixes to upstream packages.
Developers choose this plugin for its flexibility in patch declaration, robust configuration options, and built-in tools for testing patches. It simplifies dependency management by providing a standardized way to apply and manage patches across different environments.
Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and composer command for testing/troubleshooting patches.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports embedded metadata in patch files, JSON in composer.json, and separate config files, accommodating diverse workflow preferences as detailed in the documentation.
Allows applying patches from URLs with optional SHA1 checksum verification, enhancing security for remote sources, as shown in the JSON declaration examples.
Offers customizable patch appliers like patch and git, with pre-checks and command overrides, enabling adaptation to different environments per the configuration guide.
Includes dedicated Composer commands for testing and debugging patches, simplifying development workflows, as covered in the commands documentation.
Plugin upgrades can cause crashes due to mixed class versions, requiring re-execution of 'composer install' or using the '--no-plugins' flag, as warned in the README.
Officially supports Composer 1 only up to version 5.5.4 with limited verification, making it problematic for legacy systems still on outdated Composer versions.
Maintained on very old PHP versions for compatibility, which may delay adoption of modern PHP features and increase maintenance overhead for newer projects.