phppimaco icon indicating copy to clipboard operation
phppimaco copied to clipboard

Instalation issue

Open FernandoGambaro opened this issue 2 years ago • 1 comments

Hi, I'm trying to install and it gives me the following error, I can't find a solution, could you help me?

I use php 8

composer require proner/phppimaco Using version ^1.4 for proner/phppimaco ./composer.json has been updated Running composer update proner/phppimaco Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - endroid/qr-code[2.5.0, ..., 2.5.1] require bacon/bacon-qr-code ^1.0.3 -> found bacon/bacon-qr-code[1.0.3] but it conflicts with your root composer.json require (^2.0). - Root composer.json requires endroid/qr-code ^2.5 -> satisfiable by endroid/qr-code[2.5.0, 2.5.1].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require proner/phppimaco:*" to figure out if any version is installable, or "composer require proner/phppimaco:^2.1" if you know which you need.

Installation failed, reverting ./composer.json to its original content.

FernandoGambaro avatar Jun 15 '22 17:06 FernandoGambaro

Same problem, but I tried:

composer install proner/phppimaco --ignore-platform-reqs

This problem occured because the extension endroid/qrcode 2.5 depends only for bacon/bacon-qr-code 1.0.3. but this version not have in php 8.

The ideal really would be for the package maintainer to update the endroid/qr-code dependency to 4.4.x, but then I would have to see if it will break.

guiireal avatar Aug 09 '22 21:08 guiireal