Hi 👋
I’m running into a dependency conflict when trying to use simplesoftwareio/simple-qrcode alongside Laravel Fortify on Laravel 12.
Laravel Fortify (v1.34+) depends on:
bacon/bacon-qr-code ^3.0
However, the latest stable version of simplesoftwareio/simple-qrcode requires:
bacon/bacon-qr-code ^2.0
This creates an unresolvable conflict when installing both packages together.
Conflict Details:
- laravel/framework: ^12.0
- laravel/fortify: ^1.34
requires bacon/bacon-qr-code ^3.0
- simplesoftwareio/simple-qrcode: ^4.2
requires bacon/bacon-qr-code ^2.0
Composer error (simplified):
You can only install one version of a package, so only one of these can be installed:
- bacon/bacon-qr-code ^2.0
- bacon/bacon-qr-code ^3.0
Because Laravel 12 + Fortify requires bacon/bacon-qr-code ^3, it’s currently impossible to use simple-qrcode in this setup.
Expected Behavior:
It should be possible to use simplesoftwareio/simple-qrcode with:
- Laravel 12
- Laravel Fortify
- bacon/bacon-qr-code ^3.0
Suggested Solutions:
One of the following would resolve the issue:
- Release a new version of simplesoftwareio/simple-qrcode that supports bacon/bacon-qr-code ^3.0, or
- Provide guidance or an alternative approach for using simple-qrcode alongside Laravel Fortify on Laravel 12.
Thanks for your work on this package 🙏
Please let me know if I can help test or provide additional details.