This is the Github Page for API. This is the command I run in composer:
composer require dirkgroenen/Pinterest-API-PHP 0.2.11
and this is the error I get
Your requirements could not be resolved to an installable set of packages.
Problem 1 - The requested package dirkgroenen/pinterest-api-php No version set (parsed as 1.0.0) is satisfiable by dirkgroenen/pinterest-api-php[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum-stability.
Here is the link to packagist page of the API.
The composer.json
file has the following data:
"require": {
"php": ">=5.4",
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "4.7.*",
"vlucas/phpdotenv": "^2.2"
},
The requirements in the composr.json
file match those specified on the packagist page so how can I resolve this error?