akeneo / api-php-client

PHP client of Akeneo PIM API
https://packagist.org/packages/akeneo/api-php-client
Other
90 stars 57 forks source link

psr/http-message Current Version Issue #275

Open CavitU opened 1 year ago

CavitU commented 1 year ago

Hi,

Laravel 9 and above, when I try to install the akeneo/api-php-client package, I get the following error:

The reason is that I have version 2.0 of the psr/http-message package. Also when I use --with-all-dependencies (-W) it causes other incompatibilities.

Can you update the version of the psr/http-message package in composer.json to 2.0?

Problem 1

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require akeneo/api-php-client:*" to figure out if any version is installable, or "composer require akeneo/api-php-client:^2.1" if you know which you need.

Thank you.

cengizcoskun commented 1 year ago

+1

akosglue commented 1 year ago

same here, @CavitU have you resolved it?

htuscher commented 11 months ago

+1

sakarikl commented 9 months ago

Is this a dead project? No one from Akeneo has commented anything on tickets for a while now.

sakarikl commented 9 months ago

This adds missing composer rules https://github.com/akeneo/api-php-client/pull/281

mbourquin commented 7 months ago

No news about this issue? I'm stuck and cannot use it on Laravel 10. Why there are no activity on this repo since 8 months?

sakarikl commented 7 months ago

https://api.akeneo.com/php-client/introduction.html

Their documentation says that PHP client support is only "best effort". Seems that best effort is actually quite close to none.

sakarikl commented 7 months ago

We ended up patching their composer.json and publishing it in our private satis repository. All the tests went through with composer.json changes and we are running the api client in production with that #281