hkonnet / laravel-ebay

This package for laravel framework to access Ebay.
MIT License
40 stars 41 forks source link

Can't install on newer (8.x) versions of Laravel, I think is caused from a dependency issue related to GuzzleHttp #21

Open skcin7 opened 3 years ago

skcin7 commented 3 years ago
skcin7@diogenes inventory (develop) $ composer require hkonnet/laravel-ebay
Using version ^1.4 for hkonnet/laravel-ebay
./composer.json has been updated
Running composer update hkonnet/laravel-ebay
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - dts/ebay-sdk-php[12.0.0, ..., 12.0.1, 13.0.0, ..., 13.1.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0] require guzzlehttp/guzzle ~6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
    - hkonnet/laravel-ebay 1.4 requires dts/ebay-sdk-php ~12.0|~13.0|~14.0|~15.0|~16.0|~17.0|~18.0 -> satisfiable by dts/ebay-sdk-php[12.0.0, 12.0.1, 13.0.0, ..., 13.1.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0].
    - Root composer.json requires hkonnet/laravel-ebay ^1.4 -> satisfiable by hkonnet/laravel-ebay[1.4].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

The dts/ebay-sdk-php package seems to be requiring "guzzlehttp/guzzle": "~6.0", but new current modern installations of Laravel seem to have Guzzle's version at ^7.0.1 by default. Any ideas what the best way is now to handle this, to get this package installed and working as part of my Laravel apps?

veselin1v commented 2 years ago

Try with "guzzlehttp/guzzle": "^7.0.1|^6.0"