aporat / store-receipt-validator

PHP receipt validator for Apple iTunes, Google Play and Amazon App Store
Apache License 2.0
633 stars 153 forks source link

Error when composer update #36

Closed elvack closed 7 years ago

elvack commented 7 years ago

Hi, this is a nice package and I've been using this package since long time ago but recently I try to update composer and appears an errors like this :

composer update

php artisan clear-compiled 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

Sorry, I don't know which part is wrong. Thanks.

aporat commented 7 years ago

Looks like laravel 4 uses an older version of one of the dependencies. you'll either have to install v1.4 of this library or upgrade to laravel 5

elvack commented 7 years ago

Thanks for your quick response. So true I'm using laravel 4 because it's long project. So what should I do to install library become v1.4 ? Sorry for my ignorance.

aporat commented 7 years ago

in your composer.json, set the desired version, such as:

"require": {
    "aporat/store-receipt-validator": "1.4.*"
},
elvack commented 7 years ago

Ok I will try to change it. Thanks.