我想添加我在作曲家中分叉的多个软件包。
我使用了https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository中描述的方法,但是那里描述的仅适用于一个软件包,而我想针对多个软件包进行。我应该如何申报?我想添加额外的存储库链接。
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/igorw/monolog"
}
],
"require": {
"monolog/monolog": "dev-bugfix"
}
}
答案 0 :(得分:0)
我找到了答案。
{
"repositories": [
{ "type": "vcs", "url": "https://github.com/igorw/monolog" },
{ "type": "vcs", "url": "https://github.com/igorw/dialog" }
],
"require": {
"monolog/monolog": "dev-bugfix",
"dialog/dialog": "dev-bugfix"
},
}