github chillerlan/php-qrcode 4.4.0

latest releases: 5.0.2, 4.4.1, 5.0.1...
10 months ago

Maintenance release

This release serves as the final v4.x release and as an intermediate to v5 (unless something weird happens and I have to backport a bugfix or so...) - both versions support PHP 7.4+, so there's actually no reason to hold onto v4.x unless you're running extensive custom output classes, in which case this release is for you.

  • added QRMatrix::M_*_DARK constants for convenience (v5 backport). These constants should have been added way earlier as the current way to specify the QROptions:$moduleValues is highly unintuitive.
  • added PHPCS and PHPMD configurations as well as a .editorconfig
  • changed the values of QRMatrix::M_DARKMODULE and QRMatrix::M_FINDER_DOT to reflect their supposed dark values, QRMatrix::M_DARKMODULE_LIGHT and QRMatrix::M_FINDER_DOT_LIGHT have been added with the original values as placeholders for reflectance reversal. This change is backward incompatible, however, the worst that can happen is that the module values (if specified) will fall back to their internal defaults.
  • changed the default values of QROptions::$textDark and QROptions::$textLight from 🔴 and to ██ and ░░, respectively. (see here)
  • removed public and examples namespaces from autoload-dev
  • removed Scrutinizer CI in favour of Codacy
  • cleanup: all examples are now self-contained
  • dependency updates
  • CI updates

Don't miss a new php-qrcode release

NewReleases is sending notifications on new releases.