【发布时间】:2017-09-15 08:13:03
【问题描述】:
我需要在我的 laravel 项目中包含一个非作曲家存储库(https://github.com/ECPay/ECPayAIO_PHP) 但出现错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package ecpay/ecpayaio_php 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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
这是我的composer.json 文件
{
"repositories": [
{
"type": "package",
"package": {
"name": "ECPay/ECPayAIO_PHP",
"version": "dev-master",
"source": {
"url": "https://github.com/ECPay/ECPayAIO_PHP",
"type": "git",
"reference": "origin/master"
}
}
}
],
"require": {
"ECPay/ECPayAIO_PHP": "master"
}
}
听起来像是包名错误,这不是"ECPay/ECPayAIO_PHP"吗?,有什么想法吗?
【问题讨论】:
标签: php git github composer-php