Reputation: 1
I need to use Google APIs Client Library for PHP. I found on githuib the repository
https://github.com/googleapis/google-api-php-client/tree/master
According whit the repository documentation if you want to install it via composer you'll need to run this command.
composer require google/apiclient:"^2.7"
They also clarify that if you are using PHP 5.2 or 5.3, it will be necessary to useuse the v1 branch.
Because my server in production uses php 5.3 I need this option, but I don't know what would be the eqivalent composer command to download that branch.
Could you help me? Thanks a lot!
Upvotes: 0
Views: 1092
Reputation: 12105
composer require google/apiclient:"^2.7"
requires any tagged version from the v2 branch, at least v2.7.
composer require google/apiclient:"^1.0"
requires any tagged version from the v1 branch
Upvotes: 1