php composer.phar require googleads/googleads-php-lib
Using version ^31.0 for googleads/googleads-php-lib
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for googleads/googleads-php-lib ^31.0 -> satisfiable by googleads/googleads-php-lib[31.0.0].
- Conclusion: remove google/auth v0.11.1
- Conclusion: don't install google/auth v0.11.1
- googleads/googleads-php-lib 31.0.0 requires google/auth ^1.0.0 -> satisfiable by google/auth[v1.0, v1.0.1, v1.1.0].
- Can only install one of: google/auth[v1.0, v0.11.1].
- Can only install one of: google/auth[v1.0.1, v0.11.1].
- Can only install one of: google/auth[v1.1.0, v0.11.1].
- Installation request for google/auth (locked at v0.11.1) -> satisfiable by google/auth[v0.11.1].
Installation failed, reverting ./composer.json to its original content.
{
"require": {
"jonnyw/php-phantomjs": "4.*",
"php": ">=5.3.0",
"zendframework/zendframework1": "dev-master",
"phpoffice/phpexcel": "dev-master",
"mustache/mustache": "~2.5",
"google/apiclient": "^2.0",
"googleads/googleads-php-lib": "^25.1"
},
"config": {
"bin-dir": "bin"
},
"scripts": {
"post-install-cmd": [
"PhantomInstaller\\Installer::installPhantomJS"
],
"post-update-cmd": [
"PhantomInstaller\\Installer::installPhantomJS"
]
},
"autoload": {
"psr-0" : {
"Oara" : "",
"Google" : "vendor/google/apiclient/src/"
}
}
}