BingAds / BingAds-PHP-SDK

Other
56 stars 46 forks source link

composer require microsoft/bingads not working #17

Closed umair1191 closed 7 years ago

umair1191 commented 7 years ago

Your requirements could not be resolved to an installable set of packages. Problem 1

composer.json: { "name": "microsoft/bingads", "description": "This project provides a set of PHP client libraries that make it easy to access Bing Ads service APIs.", "keywords": [ "php", "bingads", "bing ads", "sdk" ], "license": "Apache-2.0", "type": "library", "homepage": "https://github.com/BingAds/BingAds-PHP-SDK", "require": { "php": ">=5.5", "ext-curl": "", "ext-openssl": "", "ext-soap": "" }, "require-dev": { "ext-curl": "", "ext-openssl": "", "ext-soap": "" }, "autoload": { "psr-4": { "Microsoft\BingAds\": "/src/" } }, "authors": [ { "name": "Microsoft", "homepage": "https://github.com/BingAds/BingAds-PHP-SDK/graphs/contributors" } ] }

J7mbo commented 7 years ago

https://getcomposer.org/doc/04-schema.md#minimum-stability

and

https://getcomposer.org/doc/04-schema.md#package-links

umair1191 commented 7 years ago

Thanks J7mbo, Can you verify what is wrong with my composer.json file? I have written above.

umair1191 commented 7 years ago

oh got it, I have just removed first line "name": "microsoft/bingads" from composer.json and it worked.