NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2480 most downloaded on Packagist
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 patch command for testing/troubleshooting added patches.
Latest stable
6.1.0
Last release 1 months ago
14 Oct 2026
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
212 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Bundle patches that touch several packages were applied in the order of the first target group they appear in instead of the resolved (declared / @aft
Full Changelog: https://github.com/vaimo/composer-patches/compare/6.0.3...6.1.0
Merge pull request #163 from vaimo/feature/applicable-variable-in-pat…
Merge pull request #163 from vaimo/feature/applicable-variable-in-pat…
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Use stdout only when reusing patch command output (https://github.com/vaimo/composer-patches/pull/155), thank you @coding46
The changes here are only done for version 6 of the patcher, since as mentioned in https://github.com/vaimo/composer-patches/pull/147 the changes will
The changes here are only done for version 6 of the patcher, since as mentioned in https://github.com/vaimo/composer-patches/pull/147 the changes will not be compatible with version 5.
vaimo/composer-changelogs to allow installing version with equal PHP version support as in version 6 of the patchervaimo/composer-changelogs incompatibilities since the package now works as isAdding the support introduced breaking changes, so dropped PHP 7.0 and symfony/console 3 support and bumped up the major version of the patcher
symfony/console 8: https://github.com/vaimo/composer-patches/pull/146Bundle patches that touch several packages were applied in the order of the first target group they appear in instead of the resolved (declared / @aft
Full Changelog: https://github.com/vaimo/composer-patches/compare/5.6.2...5.7.0
Merge pull request #164 from vaimo/feature/applicable-variable-in-pat…
Merge pull request #164 from vaimo/feature/applicable-variable-in-pat…
Use stdout only when reusing patch command output (https://github.com/vaimo/composer-patches/pull/155) (https://github.com/vaimo/composer-patches/pull
Added support for symfony/console 7: https://github.com/vaimo/composer-patches/pull/139
symfony/console 7: https://github.com/vaimo/composer-patches/pull/139symfony/console 7 into accountUpdated vaimo/topological-sort dependency to allow installing latest version with PHP compatibility improvements: https://github.com/vaimo/composer-pa
Fixed issue reported in https://github.com/vaimo/composer-patches/issues/122 where Composer version comparisons did not work in preview builds of Comp
Fixing the issue reported in https://github.com/vaimo/composer-patches/issues/118, https://github.com/vaimo/composer-patches/issues/113 and https://gi
Further adjusting the workaround created for loophp/phposinfo package backwards compatibility (https://github.com/vaimo/composer-patches/pull/133), th
Further adjusting the workaround created for loophp/phposinfo package backwards compatibility (https://github.com/vaimo/composer-patches/pull/133), the compatibility.php loaded through Composer autoload is no good in this context since the workaround is needed also before autoloader files are created.
Note: due to the nature of the change, updating the package to this version and above will require using no-plugins flag: https://github.com/vaimo/composer-patches?tab=readme-ov-file#upgrades
Added support for negated dependencies: https://github.com/vaimo/composer-patches/pull/129, https://github.com/vaimo/composer-patches/pull/131
Updated bin/test command to ignore Composer 1 deprecation warnings since these are not relevant during the tests.
Most changes are related to https://github.com/vaimo/composer-patches/pull/125
ci:build command from the package against PHP versions 7.0 - 8.4. Different Composer versions also included.sebastian/phpcpd from dev dependencies since this is abandoned and will not work with PHP 8.4, cleaned out all references from testing scripts.symfony/console, since the code in the package will not work with versions 7 and above of symfony/console.bin/analyse-dependencies script to always run as if it was given 'current' in the parameters, since looping through different PHP versions and installing packages will not work anymore with the big differences between PHP versions.bin/analyse-dependencies script, since the bigger range of PHP versions means different versions of the dependencies.bin/test command to ignore Composer 1 deprecation warnings since these are not relevant during the tests.bin/test command to expect Composer 2 related outputs in .output files, while Composer 1 related outputs are expected to be in .output-v1.bin/test to ignore unhandled promise rejection errors for now, which come up in Composer >2.7.loophp/phposinfo compatibility approach taken in 5.3.1 to autoloader based one, since the previous approach didn't work with the testsuite.bin/analyse-dependencies command not understanding empty autoloader paths of packages.bin/test command related to Composer version detection, which caused execution of queue_update and queue_install commands to not work correctly.bin/test command, where only certain packages were meant to be modified with underscore prefix, but trailing separator caused the prefix to apply on all packages, which caused some side effects.bin/analyse command, mainly unnecessary else usages and excessively long line lengthspatch:validate command, where array_map and reset function usage together caused the command to breakFixes accidentally missed backwards incompatibility added in 5.3.0, which would've locked the package only to PHP 7.4 and above.
Includes following changes from https://github.com/vaimo/composer-patches/pull/127:
loophp/phposinfo 1.6, despite the package code having hard references to 1.7. The package should now work with both 1.6 and 1.7.Allow wildcard in patches search folder path: https://github.com/vaimo/composer-patches/pull/86
Allow wildcard in patches search folder path: https://github.com/vaimo/composer-patches/pull/86
Fixes issue where platform and platform-dev data types are modified for no reason in latest versions of Composer https://github.com/vaimo/composer-pat
platform and platform-dev data types are modified for no reason in latest versions of Composer https://github.com/vaimo/composer-patches/pull/126Fixes PHP 8.4 compatibility errors related to Implicitly marking parameter xxxxx as nullable is deprecated, the explicit nullable type must be used in…
Fixes PHP 8.4 compatibility errors related to Implicitly marking parameter xxxxx as nullable is deprecated, the explicit nullable type must be used instead
Add JSON output format flag and correct return value in ListCommand #108 Resolve RuntimeException "Could not delete file" #112
Add JSON output format flag and correct return value in ListCommand #108 Resolve RuntimeException "Could not delete file" #112
Resolve unzip error on applying new patches when composer cache is cleared #107
Resolve unzip error on applying new patches when composer cache is cleared #107
Fix deprecation message for PHP 8.2: https://github.com/vaimo/composer-patches/issues/104
Fix deprecation message for PHP 8.2: https://github.com/vaimo/composer-patches/issues/104
Fix PHP 8.1 deprecation notices
Fix PHP 8.1 deprecation notices: https://github.com/vaimo/composer-patches/pull/96
Bundle patches that touch several packages were applied in the order of the first target group they appear in instead of the resolved (declared / @aft
Full Changelog: https://github.com/vaimo/composer-patches/compare/4.22.5...4.23.0
Merge pull request #165 from vaimo/feature/applicable-variable-in-pat…
Merge pull request #165 from vaimo/feature/applicable-variable-in-pat…
changes in this release forward-ported from 3.53.4
changes in this release forward-ported from 3.53.3
changes in this release forward-ported from 3.53.3
changes in this release forward-ported from 3.53.2
changes in this release forward-ported from 3.53.1
changes in this release forward-ported from 3.53.0
changes in this release forward-ported from 3.53.0
changes in this release forward-ported from 3.52.1
changes in this release forward-ported from 3.52.0
changes in this release forward-ported from 3.52.0
changes in this release forward-ported from 3.51.2
changes in this release forward-ported from 3.51.2
changes in this release forward-ported from 3.51.1
changes in this release forward-ported from 3.51.1
changes in this release forward-ported from 3.51.0
changes in this release forward-ported from 3.51.0
changes in this release forward-ported from 3.50.3
changes in this release forward-ported from 3.50.3
changes in this release forward-ported from 3.50.2
changes in this release forward-ported from 3.50.2
changes in this release forward-ported from 3.50.1
changes in this release forward-ported from 3.50.1
changes in this release forward-ported from 3.50.0
changes in this release forward-ported from 3.50.0
changes in this release forward-ported from 3.49.3
changes in this release forward-ported from 3.49.2
changes in this release forward-ported from 3.49.1
changes in this release forward-ported from 3.49.0
changes in this release forward-ported from 3.49.0
changes in this release forward-ported from 3.48.10
changes in this release forward-ported from 3.48.9
changes in this release forward-ported from 3.48.9
changes in this release forward-ported from 3.48.8
changes in this release forward-ported from 3.48.7
changes in this release forward-ported from 3.48.6
changes in this release forward-ported from 3.48.6
changes in this release forward-ported from 3.48.5
changes in this release forward-ported from 3.48.4
changes in this release forward-ported from 3.48.3
changes in this release forward-ported from 3.48.2
changes in this release forward-ported from 3.48.1
changes in this release forward-ported from 3.48.0
changes in this release forward-ported from 3.48.0
changes in this release forward-ported from 3.47.2
All features and fixes in this release are forward-ported from 3.47.1
All features and fixes in this release are forward-ported from 3.47.1
all features and fixes in this release are forward-ported from 3.47.0
all features and fixes in this release are forward-ported from 3.47.0
This release comes basically with re-written logic to the core of the patch apply queue generation due to issues with the old logic. The listing comma
This release comes basically with re-written logic to the core of the patch apply queue generation due to issues with the old logic. The listing command now also uses same code which removes some of the confusion when using apply and seeing something different than what list reports
All features and fixes in this release are forward-ported from 3.46.0
all features and fixes in this release are forward-ported from 3.45.0
all features and fixes in this release are forward-ported from 3.45.0
One column per quarter.