Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/goatherd/patch-installer

Patch other composer packages on install or update
https://github.com/goatherd/patch-installer

Last synced: 11 days ago
JSON representation

Patch other composer packages on install or update

Awesome Lists containing this project

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)