Skip to content

goatherd/patch-installer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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