goatherd/patch-installer

Install package as patch directly to vendor directory

Installs: 67

Dependents: 2

Stars: 41

Watchers: 6

Open Issues: 5

Language: PHP

0.0.1 2013-04-20 09:52 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)