slince / shopify-api-php

:rocket: Shopify API Client for PHP
MIT License
128 stars 48 forks source link

composer problem #10

Closed wennima closed 6 years ago

wennima commented 6 years ago

Hi, when I install this api via composer,installation failed with a problem:

Problem 1

Do you know how to fix this problem?

slince commented 6 years ago

there is no stable version for 1.x; you can try like this to install lastest version

$ composer require slince/shopify-api-php ^2.0
wennima commented 6 years ago

Thanks for your reply ! I got same problem using the command, not sure if that was composer cache or anything else, then I try

composer require slince/shopify-api 2.0.3

and it works. And I could successfully fetch products on my test store by running example scripts. Thanks!

slince commented 6 years ago

feel free to let me know if you have any questions. 😃