MyUser
MyUser

Reputation: 321

Composer: google-api-php-client does not exist in any version

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.

Upvotes: 1

Views: 1039

Answers (1)

Fracsi
Fracsi

Reputation: 2314

The package is called: google/apiclient

You can check it on the github repository.

Upvotes: 4

Related Questions