PackageTrack
Sign in Get early access

picqer/php-barcode-generator

An easy to use, non-bloated, barcode generator in PHP. Creates SVG, PNG, JPG and HTML images from the most used 1D barcode standards.

v3.3.0 30M downloads/mo #632 most downloaded on Packagist picqer/php-barcode-generator

What this package is like to depend on

Last release today

22 Aug 2026

Release timing varies

gaps range from 2 weeks to 13 months

Some releases are documented

notes for 10 of 28 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

28 releases · first in 2015

2 releases in the last 12 months

see the full history below

Release timeline

28 releases · Aug 2015 to Aug 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 28
  1. v3.3.0 22 Aug 2026
    Release notes

    What's Changed

    • New version of UPC-E barcodes by @casperbakker in #225
    • Added php 8.5 checks
    • Raised phpstan to level 9
    • Fixed a Telepen bug
    • mbstring extension is not needed

    Full Changelog: v3.2.4...v3.3.0

    Open source →
  2. v3.2.4 08 Jan 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.2.3...v3.2.4

    Open source →
  3. v3.2.3 29 Jul 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.2.2...v3.2.3

    Open source →
  4. v3.2.2 03 Jun 2025
    Release notes

    What's Changed

    Full Changelog: v3.2.1...v3.2.2

    Open source →
  5. v3.2.1 14 Apr 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.2.0...v3.2.1

    Open source →
  6. v3.2.0 01 Oct 2024
    Release notes

    What's Changed

    Breaking changes

    • All Renderers (introduced in v3) now wants the $width instead of a $widthFactor to make the renderers consistent
    • Colors are always set with an array of RGB colors (for example [255, 0, 0] for red)

    I forgot to add these changes to v3, so now added in this 3.2.0 release while not many people are using v3.

    Full Changelog: v3.1.0...v3.2.0

    Open source →
  7. v3.1.0 21 Sep 2024
    Release notes

    What's Changed

    Full Changelog: v3.0.0...v3.1.0

    Open source →
  8. v3.0.0 21 Sep 2024
    Release notes

    A new version of this library that gives a better way to add new types and new options to the renderers. Instead of rendering the barcode inside the renderers, I have split the code in 2 pieces: the barcode translators (calculating the bars and spaces) and the renderers that can turn it into an image.

    The renderers are now more flexibel in the options it can have. We can now add margin for example, or generate a text below the barcode.

    // Make Barcode object of Code128 encoding.
    $barcode = (new Picqer\Barcode\Types\TypeCode128())->getBarcode('081231723897');
    
    // Output the barcode as HTML in the browser with a HTML Renderer
    echo (new Picqer\Barcode\Renderers\HtmlRenderer())->render($barcode);

    Options can be given as separate calls to the renderer, like this:

    echo (new Picqer\Barcode\Renderers\HtmlRenderer())->setForegroundColor('#eee')->render($barcode);

    That keeps simple usages as clean as possible, while also making room for new options.

    Backwards compatible

    The old 'generators' will work the same and are helpers to get the new types and renderers. So it is save to use this new version with your old usage of this library.

    Open source →
  9. v2.4.2 18 Sep 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.4.0...v2.4.2

    Open source →
  10. v2.4.0 16 Sep 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.3.3...v2.4.0

    Open source →
  11. v2.3.3 14 Aug 2023

    Nothing published for this version

  12. v2.3.2 25 Jul 2023

    Nothing published for this version

  13. v2.3.1 24 Jul 2023

    Nothing published for this version

  14. v2.3.0 24 Jul 2023

    Nothing published for this version

  15. v2.2.4 01 Jul 2022

    Nothing published for this version

  16. v2.2.3 14 Jun 2022

    Nothing published for this version

  17. v2.2.2 06 May 2022

    Nothing published for this version

  18. v2.2.1 07 Feb 2022

    Nothing published for this version

  19. v2.2.0 27 Mar 2021

    Nothing published for this version

  20. v2.1.0 24 Dec 2020

    Nothing published for this version

  21. v2.0.1 28 Jan 2020

    Nothing published for this version

  22. v2.0.0 11 Jan 2020

    Nothing published for this version

  23. v0.4.0 31 Dec 2019

    Nothing published for this version

  24. v0.2.2 28 Sep 2017

    Nothing published for this version

  25. v0.2.1 17 Oct 2016

    Nothing published for this version

  26. v0.3 12 Jan 2019

    Nothing published for this version

  27. v0.2 14 May 2016

    Nothing published for this version

  28. v0.1 13 Aug 2015

    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