patch / work
Change packages using patch files during composer install
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 142
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
pkg:composer/patch/work
Requires
- php: ^7.1
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ^1.0
This package is auto-updated.
Last update: 2024-04-10 07:21:35 UTC
README
Supports the "patchwork" package-type in composer
Please use the patch packages directly!
Usage
- Choose a patch here: https://packagist.org/packages/patch/work/dependents
- Add it to requirements
- Set path to patch mapping (in "extra" - "patchwork" section)
composer install- Profit
Example:
{
"name": "myown/thing",
"require": {
"johnpbloch/wordpress": "5.2.*",
"patch/wp-remove-hello": "0.1.*"
},
"extra": {
"patchwork": {
"wordpress/": "patch/wp-remove-hello"
}
}
}
The extra.patchwork section can also look like this:
"extra": { "patchwork": { "src/": "patch/wp-*", "some/path/": [ "patch/wp-*", "patch/mage-*", "myown/patch", ] } }