dongshi1934 2016-01-13 06:13
浏览 406
已采纳

Composer:google-api-php-client在任何版本中都不存在

I am trying to install the google-api-php-client on a Windows system (for local testing) using Composer.

But when I run composer require google-api-php-client:2.0@RC in my project directory, Composer states that

The requested package google-api-php-client could not be found in any version, there may be a typo in the package name.

The command I ran is directly from Google's documentation. I've searched both StackOverflow and the rest of the Internet for someone with the same problem but haven't found anyone. However, I was able to install a previous version of another similar Google package (which doesn't meet my needs) so I know that Composer is connecting to the database.

  • 写回答

1条回答 默认 最新

  • doutui7955 2016-01-15 07:40
    关注

    The package is called: google/apiclient

    You can check it on the github repository.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?