dirkgroenen / pinterest-api-php

A PHP wrapper for the official Pinterest API. :pushpin:
https://developers.pinterest.com/docs/getting-started/introduction/
Apache License 2.0
173 stars 76 forks source link

Composer is giving requirements could not be resolved error. #62

Closed 9itish closed 6 years ago

9itish commented 8 years ago

Hi Dirk, thank you very much for the wrapper. :)

I can't get it to work, though. When I install the package using composer by typing

C:\xampp\htdocs\pinterest>composer require dirkgroenen/Pinterest-API-PHP 0.2.11

I get the following error message:

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.

I have not made any changes to the composer.json file. Here is some of its code:

"require": { "php": ">=5.4", "ext-curl": "*" }, "require-dev": { "phpunit/phpunit": "4.7.*", "vlucas/phpdotenv": "^2.2" }, "autoload": { "psr-4": { "DirkGroenen\\Pinterest\\": "src/Pinterest" } }, "autoload-dev": { "psr-4": { "DirkGroenen\\Pinterest\\Tests\\": "tests/Pinterest" } }

Could you please help me resolve this issue?

Thanks.

tarekfellah commented 7 years ago

Same issue here

crezmer-test commented 5 years ago

same issues here