goatherd/

patch-installer

直接将包安装为补丁到vendor目录

安装: 99

依赖项: 1

建议者: 0

安全: 0

星标: 48

关注者: 4

分支: 3

开放问题: 5

类型:composer-installer

0.0.1 2013-04-20 09:52 UTC

This package is not auto-updated.

Last update: 2024-09-14 14:41:34 UTC


README

在安装或更新时修补其他composer包。

实验性功能

使用方法

对于patch类型的更改,将安装路径修改为vendor目录,并将其合并到其他vendor目录。

您的composer.json

{
    "type": "patch",
    "require": {
        "some/dependency": "*",
        "goatherd/patch-installer": "*"
    },
    "extra": {
        "patch-path": "some/dependency",
        "patch-files": [
            "path/to/firstFile.ext",
            "config.xml"
        ]
    }
}

限制

  • 安装顺序很重要
  • 不要尝试修补一个补丁
  • 无法卸载(但可以更新)