https://github.com/goatherd/patch-installer
Patch other composer packages on install or update
https://github.com/goatherd/patch-installer
Last synced: about 2 months ago
JSON representation
Patch other composer packages on install or update
- Host: GitHub
- URL: https://github.com/goatherd/patch-installer
- Owner: goatherd
- License: other
- Created: 2013-04-12T18:14:33.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-20T09:53:32.000Z (almost 13 years ago)
- Last Synced: 2024-11-02T08:31:06.564Z (over 1 year ago)
- Language: PHP
- Size: 145 KB
- Stars: 48
- Watchers: 4
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-php-cn - 官网
- awesome-php - Patch Installer - 一个使用Composer安装补丁的库 (其他的依赖管理 Dependency Management Extras)
README
patch-installer
===============
Patch other composer packages on install or update.
**experimental feature**
Usage
-----
For a `patch` [type](http://getcomposer.org/doc/04-schema.md#type) change the install path to vendor directory and merge into other vendor directories.
Your composer.json
```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)