Skip to content

Releases: tavinus/cli-barcode

v1.0.8 Fix trailing zero when not CODE_128_C

20 Nov 16:55
dce7413
Compare
Choose a tag to compare

Fix. Was appending a trailing zero when it should not. Fixed!

v1.0.7 GetOpt small patch

20 May 15:44
Compare
Choose a tag to compare

v1.0.7

  • Small patch to upstream ulrichsg/getopt-php to get trimmed version of option/parameter

v1.0.6 FixFixFix

  • Fix and Add a lot of stuff
  • Fix to PNG and JPG Barcodes (color was broken)
  • Hex Color validated and transformed as needed for all modes
    • char # is optional but must have 3 or 6 hex numbers (alphanumeric is tested)
    • converts color to RGB if JPG or PNG
  • -v, --verbose mode implemented, prints execution info
  • -q, --quiet mode implemented, will suppress even error messages
  • -vv or -v -v doubled verbose mode added for timestamp on each line
  • Patch to upstream ulrichsg/getopt-php so we can have parameters at the end! YES!
    • It is now possible to pass anything in any order, as long as it is valid
    • The ONLY thing to consider is that the Barcode String MUST come before the File Name
    • This is valid now: $ barcode "12312341" -e CODE_39 -f SVG ./myBar.svg -v
    • Honestly, I thought this was possible, but it has never been. Now it is.
  • Tested color, width, height on all formats (jpg,png,svg,html), all working now
  • Added extra help info with 2-liner possibility
  • Updated Readme

v1.0.6 FixFixFix

20 May 09:39
Compare
Choose a tag to compare

v1.0.6 FixFixFix

  • Fix and Add a lot of stuff
  • Fix to PNG and JPG Barcodes (color was broken)
  • Hex Color validated and transformed as needed for all modes
    • char # is optional but must have 3 or 6 hex numbers (alphanumeric is tested)
    • converts color to RGB if JPG or PNG
  • -v, --verbose mode implemented, prints execution info
  • -q, --quiet mode implemented, will suppress even error messages
  • -vv or -v -v doubled verbose mode added for timestamp on each line
  • Patch to upstream ulrichsg/getopt-php so we can have parameters at the end! YES!
    • It is now possible to pass anything in any order, as long as it is valid
    • The ONLY thing to consider is that the Barcode String MUST come before the File Name
    • This is valid now: $ barcode "12312341" -e CODE_39 -f SVG ./myBar.svg -v
    • Honestly, I thought this was possible, but it has never been. Now it is.
  • Tested color, width, height on all formats (jpg,png,svg,html), all working now
  • Added extra help info with 2-liner possibility
  • Updated Readme

v1.0.5 Exception Raising

20 May 05:17
Compare
Choose a tag to compare

v1.0.5

v1.0.4

  • Fix to when passing bad -e <encoding>
  • Fix to when passing bad -f <format>
  • GetOpt was not getting those errors

v1.0.3

  • Updates the Package picqer/php-barcode-generator to v0.2.1
  • Includes fix to some barcode types
  • Generates almost any barcode format from CLI, using PHP
  • Outputs to SVG, PNG, JPG, HTML

v1.0.4 Fix Bad Options Parsing

20 May 02:20
Compare
Choose a tag to compare

v1.0.4

  • Fix to when passing bad -e <encoding>
  • Fix to when passing bad -f <format>
  • GetOpt was not getting those errors

v1.0.3

  • Updates the Package picqer/php-barcode-generator to v0.2.1
  • Includes fix to some barcode types
  • Generates almost any barcode format from CLI, using PHP
  • Outputs to SVG, PNG, JPG, HTML

v1.0.3 Update to picqer/php-barcode-generator

20 May 01:35
Compare
Choose a tag to compare
  • Updates the Package picqer/php-barcode-generator to v0.2.1
  • Includes fix to some barcode types
  • Generates almost any barcode format from CLI, using PHP
  • Outputs to SVG, PNG, JPG, HTML

First release

11 Jul 11:10
Compare
Choose a tag to compare

First release, all working.
Creates barcodes from cli with almost any encoding to HTML, PNG, JPG or SVG.
Very simple, small and functional.