Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

laminas/laminas-diactoros problem with Laravel 10 and PHP 8.1+ #486

Closed
slps970093 opened this issue May 2, 2023 · 1 comment
Closed

Comments

@slps970093
Copy link

composer require aimeos/aimeos-laravel:~2023.04
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: 127.0.0.1:9003 (through xdebug.client_host/xdebug.client_port).
./composer.json has been updated
Running composer update aimeos/aimeos-laravel
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- laminas/laminas-diactoros[2.5.0, ..., 2.6.0] require php ^7.3 || ~8.0.0 -> your php version (8.1.17) does not satisfy that requirement.
- laminas/laminas-diactoros[2.7.0, ..., 2.24.2] require psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- laminas/laminas-diactoros[2.25.0, ..., 2.25.2] require psr/http-message ^1.1 -> found psr/http-message[1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- aimeos/aimeos-laravel 2023.04.1 requires laminas/laminas-diactoros ~2.5 -> satisfiable by laminas/laminas-diactoros[2.5.0, ..., 2.25.2].
- Root composer.json requires aimeos/aimeos-laravel ~2023.04 -> satisfiable by aimeos/aimeos-laravel[2023.04.1].

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.

@aimeos
Copy link
Owner

aimeos commented May 2, 2023

Solution described here (downgrade psr/php-message package): aimeos/aimeos#107

The problem is that there's no version of the laminas/laminas-diactoros package for psr/php-message:2.0 yet.

@aimeos aimeos pinned this issue May 2, 2023
@aimeos aimeos changed the title support php 8.1 laminas/laminas-diactoros problem with Laravel 10 and PHP 8.1+ May 2, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants