imagex / composer-patches
Provides a GNU patcher fallback for Composer Patches v2.
Package info
bitbucket.org/ixm/composer-patches
Type:composer-plugin
pkg:composer/imagex/composer-patches
1.0.1
2026-12-02 16:08 UTC
Requires
- php: >=8.3
- composer-plugin-api: ^2.0
- cweagans/composer-patches: ^2.0
Requires (Dev)
- composer/composer: ^2.0
- imagex/coding-standards: ^1.0
- phpro/grumphp: ^2.27
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Provides a GNU patch fallback for cweagans/composer-patches.
Installation
composer require imagex/composer-patches
Be sure to trust imagex/composer-patches when prompted, or set it manually in the composer.json file.
{
"config": {
"allow-plugins": {
"imagex/composer-patches": true
}
}
}
Usage
When a patch fails to apply using git apply, it will automatically attempt to apply using the GNU patch fallback.