composer-installer patch-installer
Install package as patch directly to vendor directory
goatherd/patch-installer
Install package as patch directly to vendor directory
- Saturday, April 20, 2013
- by goatherd
- Repository
- 4 Watchers
- 50 Stars
- 84 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 3 Forks
- 5 Open issues
- 2 Versions
- 0 % Grown
patch-installer
Patch other composer packages on install or update., (*1)
experimental feature, (*2)
Usage
For a patch
type change the install path to vendor directory and merge into other vendor directories., (*3)
Your composer.json, (*4)
{
"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)