Skip to content

goatherd/patch-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

patch-installer

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)

About

Patch other composer packages on install or update

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages