Composer php 作曲家要求发行
这是我想从作曲家那里得到的。这是我的命令:Composer php 作曲家要求发行,composer-php,Composer Php,这是我想从作曲家那里得到的。这是我的命令: composer需要kiyoh/customerreview 这是我的composer.json文件: "repositories": [ ....... { "type": "vcs", "url": "git@github.com:hans2103/Kiyoh_Customerreview.git" } ], "require": { "kiyoh/customerreview": "2.1.0.11",
composer需要kiyoh/customerreview
这是我的composer.json文件:
"repositories": [
.......
{ "type": "vcs", "url": "git@github.com:hans2103/Kiyoh_Customerreview.git" }
],
"require": {
"kiyoh/customerreview": "2.1.0.11",
......
}
这是我在控制台中得到的结果:
[InvalidArgumentException]
Could not find package kiyoh/customerreview at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability .
知道我做错了什么吗
kiyoh/customerreview
没有任何版本。存储库只包含主分支,没有任何标记
要修复此问题,您可以更换所需的零件:
"require": {
"kiyoh/customerreview": "dev-master",
......
}
这意味着composer将使用主分支作为源
此外,您还需要在composer.json
的顶层添加“最小稳定性”:“dev”
最终,您的composer.json
必须如下所示:
"minimum-stability": "dev",
"repositories": [
.......
{ "type": "vcs", "url": "git@github.com:hans2103/Kiyoh_Customerreview.git" }
],
"require": {
"kiyoh/customerreview": "dev-master",
......
}