SimpleSoftwareIO / simple-qrcode

An easy-to-use PHP QrCode generator with first-party support for Laravel.
https://www.simplesoftware.io/simple-qrcode
MIT License
2.75k stars 397 forks source link

Will not install - Bacon-qr-code is locked to version 3.0.0 #301

Closed helloadmin closed 6 months ago

helloadmin commented 6 months ago

I'm attempting to add this to a new Laravel 11 project with PHP 8.3.

composer require simplesoftwareio/simple-qrcode "~4"

- simplesoftwareio/simple-qrcode[4.0.0, ..., 4.2.0] require bacon/bacon-qr-code ^2.0 -> found bacon/bacon-qr-code[2.0.0, ..., 2.0.8] but the package is fixed to v3.0.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.

There may be a very simple composer parameter to override this but my attempts have all come up naught.

Do those who have inequitably high level of intelligence or experience have a solution around this? Those with equitable levels and a solution, I would also highly appreciate.

helloadmin commented 6 months ago

I manually included BaconQrCode with: composer require Bacon/BaconQrCode:2.0.8

and then ran Composer Update

It has resolved the issue for me