2

我在 /home/ec2-user 中尝试使用 composer.json 作曲家,但得到错误:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package aws/aws-sdk-php could not be found in any version, there may be a typo in the package name.

我的 json 文件如下所示:

{
    "require": {
        "aws/aws-sdk-php": "2.*"
    }
}

我想在项目目录中尝试但不知道如何找到它?

4

1 回答 1

1

安装 php aws sdk 的正确方法是:

"aws/aws-sdk-php": "2.4.*@dev"

有关 packagist 的更多信息:https ://packagist.org/packages/aws/aws-sdk-php

于 2013-09-24T09:47:14.790 回答