PackageTrack
Sign in Get early access

2amigos/qrcode-library

QrCode Generator

4.0.0 1.6M downloads/mo #4552 most downloaded on Packagist 2amigos/qrcode-library

What this package is like to depend on

Last release 2 months ago

18 Jun 2026

Release timing varies

gaps range from 2 months to 3.5 years

Some releases are documented

notes for 6 of 14 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

15 releases · first in 2014

1 release in the last 12 months

see the full history below

Release timeline

15 releases · May 2014 to Jun 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 15
  1. 4.0.0 18 Jun 2026
    Release notes

    4.0.0 — PHP 8.3–8.5 support, GD-native rendering & modernization.

    ⚠️ Major release with breaking changes. Read the Upgrade Guide before upgrading from 3.x.

    Delivered by #75 (version corrected in #76) · Epic #74 · Closes #73, #68, #69, #34, #32.

    Added

    • Pure-GD render backend Da\QrCode\Renderer\GdImageBackEndPNG/JPG no longer require ImageMagick (only ext-gd). Fixes the Windows RegistryKeyLookupFailed 'CoderModulesPath' error (#68).
    • Framework-agnostic PSR-15 Da\QrCode\Bridge\Psr\QrCodeAction for Yii3 and any PSR-15 app (Mezzio, Slim, …).
    • vCard PHOTO via Base64 / data-URI / local file (#69); MeCard ORG field (#34); troubleshooting guide answering #32.

    Changed

    • Requires PHP 8.3 / 8.4 / 8.5 (dropped < 8.3).
    • Dropped marc-mabe/php-enumEnums\* keep the same constants (no API change).
    • bacon/bacon-qr-code^3, khanamiryan/qrcode-detector-decoder^2.
    • PNG/JPG render with GD by default; ImageMagick is opt-in via the writer constructor.
    • Framework adapters reorganized under Da\QrCode\Bridge\<Framework>\ (Yii2 / Laravel / Psr); dropped redundant Laravel class-name prefixes.
    • StyleManager::getGradientTye()getGradientType() (deprecated alias kept); QrCode::getGradientType() now returns a GradientType.
    • Modern toolchain: php-cs-fixer v3, PHPStan, CI matrix on 8.3/8.4/8.5.

    Fixed

    • Radial / inverse-diagonal gradients rendering as solid black.
    • Bridge\Laravel\QrCodeFactory works standalone when Laravel's config() is unbound.

    Full changelog: CHANGELOG.md · Upgrade: UPGRADE-4.0.md

    Open source →
    Release notes

    Added

    • Enh #69: vCard PHOTO now supports Base64 / data: URIs and local image files, inlined as a PHOTO:data:<mime>;base64,... line, in addition to the previous remote-URL behaviour (tonydspaniard)
    • Enh #34: MeCardFormat gains an organization property, emitted as an ORG: entry only when set (tonydspaniard)
    • Doc #32: Documented how to save / right-click-save the generated QR using writeFile() and writeDataUri() (tonydspaniard)
    • New pure-GD render backend Da\QrCode\Renderer\GdImageBackEnd (tonydspaniard)
    • New framework-agnostic PSR-15 Da\QrCode\Bridge\Psr\QrCodeAction (a RequestHandlerInterface) for Yii3 and any PSR-15 app (Mezzio, Slim, ...) (tonydspaniard)

    Changed

    • Reorganized framework adapters under Da\QrCode\Bridge\<Framework>\ (Yii2, Laravel, Psr); dropped redundant Laravel class-name prefixes. See UPGRADE-4.0 §7 for the namespace map (tonydspaniard)
    • Enh #73: Require PHP 8.3, 8.4 or 8.5; dropped support for everything below 8.3 (tonydspaniard)
    • Dropped the marc-mabe/php-enum dependency; Enums\* classes are now plain final classes exposing the same public const values (tonydspaniard)
    • Bumped bacon/bacon-qr-code to ^3 and khanamiryan/qrcode-detector-decoder to ^2 (tonydspaniard)
    • PngWriter and JpgWriter now render with the GD backend by default; ImageMagick is opt-in via the writer constructor (tonydspaniard)
    • Renamed the misspelled StyleManager::getGradientTye() to getGradientType(), keeping a deprecated getGradientTye() alias until 3.0 (tonydspaniard)
    • QrCode::getGradientType() now returns a BaconQrCode\Renderer\RendererStyle\GradientType instead of a string (tonydspaniard)
    • LaravelQrCodeFactory now degrades gracefully to sensible defaults when Laravel's config() helper is not bound, so it can also be used standalone (tonydspaniard)

    Fixed

    • Fix #68: PNG/JPG output no longer requires ImageMagick, avoiding the Windows RegistryKeyLookupFailed 'CoderModulesPath' error; only ext-gd is needed (tonydspaniard)
    • Fixed radial and inverse-diagonal gradients rendering as solid black: the margin whitespace-trim looked for the exact foreground colour, which is absent at the edges of those gradients (tonydspaniard)
    Open source →
  2. 3.1.0 13 Dec 2023
    Release notes

    Laravel Blade Component is now available on the package

    Open source →
  3. 3.0.2 20 Oct 2023
    Release notes

    Gradient foreground color and foreground style features available

    Open source →
  4. 3.0.1 18 Oct 2023
    Release notes

    SVG Format can have labels and logos now;
    Added functionality to set background, foreground and label to yii action;
    Added alpha option to foreground color;

    Open source →
  5. 3.0.0 24 Aug 2023
    Release notes

    qrcode library now supports BaconQrCode ^2 and PHP 8+

    Open source →
  6. 3.0.0-beta 19 Aug 2023 pre-release
    Release notes

    Support for BaconQrCode ^2

    Open source →
  7. 2.0.0 31 Jan 2020

    Nothing published for this version

  8. 1.1.2 25 Aug 2017

    Nothing published for this version

  9. 1.1.1 25 Aug 2017

    Nothing published for this version

  10. 1.1.0 25 Aug 2017
    Release notes
    • Enh #18: Initial new release. Total refactor (tonydspaniard)
    Open source →
  11. 1.0.3 21 Jun 2017

    Nothing published for this version

  12. 1.0.2 16 Mar 2015

    Nothing published for this version

  13. 1.0.1 15 Mar 2015

    Nothing published for this version

  14. 1.0.0 15 Mar 2015

    Nothing published for this version

  15. 0.1.0 21 May 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive