【发布时间】:2015-12-23 13:22:25
【问题描述】:
我从 Github 上的存储库创建了一个分支,并希望将其安装到我的项目中。我有以下composer.json
{
"repositories": [
{
"url": "https://github.com/guidobr/instagram-api",
"type": "git"
}
],
"require": {
"guidobr/instagram-api": "*"
}
}
当我尝试安装它时,我得到了这个响应:
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package guidobr/instagram-api 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 <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
我做错了什么?尝试了该链接中的所有解决方案,但都没有成功。
【问题讨论】:
标签: php github composer-php