Php 试图包含PackageGist上未包含的包的特定分支
我试图使用回购的特定分支,但出现错误: composer.jsonPhp 试图包含PackageGist上未包含的包的特定分支,php,composer-php,Php,Composer Php,我试图使用回购的特定分支,但出现错误: composer.json { "name": "programmingarehard/arbiter", "license": "MIT", "type": "library", "description": "Convenience library to manipulate Symfony ACL's", "authors": [ { "name": "David Ada
{
"name": "programmingarehard/arbiter",
"license": "MIT",
"type": "library",
"description": "Convenience library to manipulate Symfony ACL's",
"authors": [
{
"name": "David Adams",
"email": "adams.david.10@gmail.com"
}
],
"autoload": {
"psr-4": {
"ProgrammingAreHard\\Arbiter\\": "src",
"ProgrammingAreHard\\Arbiter\\Spec\\": "spec"
}
},
"require": {
"php": ">=5.3.3",
"symfony/security": "2.4.*"
},
"require-dev": {
"bestform/phpspec": "dev-psr4-support"
},
"config": {
"bin-dir": "vendor/bin"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/bestform/phpspec"
}
],
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
}
}
错误:
Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package bestform/phpspec could not be found in any version, there may be a typo in the package name. Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details. Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
更新依赖项(包括require dev)无法将您的需求解析为一组可安装的包。
问题1
-在任何版本中都找不到请求的包bestform/phpspec,包名中可能有输入错误。潜在原因:
-软件包名称中的输入错误
-根据您的最低稳定性设置,该软件包没有足够稳定的版本。有关详细信息,请参阅。阅读了解更多常见问题。
这是我试图加入我的计划的回购/分行。不知道我做错了什么 您正在使用的存储库不包含名为
bestform/phpspec
的软件。查看其中的composer.json,并使用给定的值“name”。它的phpspec/phpspec
,只有使用该名称才能找到任何分支
Github存储库的名称与此无关。不要把它和“作曲家”的名字混淆