Skip to content

Compatibility issue between simplesoftwareio/simple-qrcode and Laravel Fortify on Laravel 12 (bacon/bacon-qr-code version conflict) #331

@ravi-374

Description

@ravi-374

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:

  1. Release a new version of simplesoftwareio/simple-qrcode that supports bacon/bacon-qr-code ^3.0, or
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions