Patch-Installer 是 Composer 的安装包及补丁包。
示例代码:
{ "type": "patch", "require": { "some/dependency": "*", "goatherd/patch-installer": "*" }, "extra": { "patch-path": "some/dependency", "patch-files": [ "path/to/firstFile.ext", "config.xml" ] } }