Skip to content

Releases: picqer/php-barcode-generator

v2.1.0

24 Dec 15:38
Compare
Choose a tag to compare
  • Fixed imagick results is different from GD result #103
  • Throw exception on invalid Pharmacode 2 code to prevent infinite loop #118
  • Drop support for PHP 7.2 for phpunit 9 and PHP 8.0

v2.0.1

28 Jan 13:00
Compare
Choose a tag to compare

Fixed

  • Removed special chars from filenames we use for test validation #94

v2.0.0

11 Jan 20:08
fd18d04
Compare
Choose a tag to compare

Big new version 🎉

Finally got around to refactoring the original structure from the original tcpdf library.

Added

  • Introduced Barcode and BarcodeBar classes to standardise generator output.
  • Introduced methods to force use of GD or Imagick, see readme.
  • Loads of new tests added, including tests on Github Actions.

Changed

  • Splitted all barcode types to different files.
  • Refactored a lot of code for better readability, stricter checking, and to be more efficient.
  • Merged JPG and PNG generators, because of duplicate code.

Fixed

  • Fixed a bug in Codabar generation 2d1128f
  • Do not draw multiple bars on the same position #74
  • Do not try to draw barcodes for empty strings #42
  • Fixed possible casting issue in Codabar #92

v0.4.0

31 Dec 20:07
6495fec
Compare
Choose a tag to compare

Added support for PHP 7.4, thanks to @pilif

v0.3

12 Jan 09:31
2e4d5b1
Compare
Choose a tag to compare

v0.2.2

28 Sep 19:25
Compare
Choose a tag to compare

Raising exceptions if we cannot generate JPG or PNG because of missing libraries. Thanks @OskarStark

v0.2.1

24 Oct 17:59
Compare
Choose a tag to compare

Bugfixes for wrong constant values.

v0.2

14 May 15:00
Compare
Choose a tag to compare

This release adds exceptions to this package. Now it is easier to detect if the generated barcode is correct or not.

v0.1

13 Aug 08:01
Compare
Choose a tag to compare
First version