goatherd / patch-installer
Install package as patch directly to vendor directory
Installs: 99
Dependents: 1
Suggesters: 0
Security: 0
Stars: 47
Watchers: 4
Forks: 3
Open Issues: 5
Type:composer-installer
pkg:composer/goatherd/patch-installer
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2025-10-25 20:10:55 UTC
README
Patch other composer packages on install or update.
experimental feature
Usage
For a patch type change the install path to vendor directory and merge into other vendor directories.
Your composer.json
{
"type": "patch",
"require": {
"some/dependency": "*",
"goatherd/patch-installer": "*"
},
"extra": {
"patch-path": "some/dependency",
"patch-files": [
"path/to/firstFile.ext",
"config.xml"
]
}
}
Limitations
- order of installation is important
- do not try to patch a patch
- can not uninstall (but updates)