Releases: tavinus/cli-barcode
Releases · tavinus/cli-barcode
v1.0.8 Fix trailing zero when not CODE_128_C
v1.0.7 GetOpt small patch
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
- char
-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 theFile 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
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
- char
-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 theFile 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
v1.0.5
- Little patch on upstream php-barcode-generator
- Raising an exception on some invalid barcodes (Eg.
CODE_128_C
with letters) - More info here: picqer/php-barcode-generator#42
- Catching Exception with proper error message
chmod
removed until rebuilt as an option
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
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
- 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
First release, all working.
Creates barcodes from cli with almost any encoding to HTML, PNG, JPG or SVG.
Very simple, small and functional.