Closed shresthanimish closed 3 years ago
Facing the similar issue with Laravel 8! Did you find any solution for this?
Yes. I found out that Laravel 8 doesn't necessarily require Guzzle 7.x. V6.5 works just as well. So the trick here is to have both versions available in composer. Here is the entry I have to fix the issue:
"guzzlehttp/guzzle": "^6.5|^7.0.1",
Edit the relevant line in composer.json in your laravel project with above. All the best.
Thanks a lot for your prompt reply 🙏
No problem. Hope that helped.
`$ composer require slince/shopify-api-php Using version ^2.5 for slince/shopify-api-php ./composer.json has been updated 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
Installation failed, reverting ./composer.json to its original content.`
Facing this situation
Looks like you might have previously installed guzzle 7.2 which is now in your compose.lock file. You can try copying your compose.lock file outside of your project for backup. Then remove it from your project and run composer install.
The latest version of laravel (v8.0) requires guzzlehttp/guzzle:7.0.1. However, slince/shopify-api-php only satisfiable upto 6.x.
Problem 1