

phpunit updated to include code coverage report.Smoke tests for all combinations of code types and renders.PHP 7 type casting for parameters and return values.Factory generators for Types and Renders.Barcode data is broken into classes, along with render interfaces for the supported file types (jpg, png, html, svg) If you have both installed but you want a specific method, you can use $generator->useGd() or $generator->useImagick() to force your preference. This package will use Imagick if that is installed, or fall back to GD.
#Barcode gen install
If you want to use PNG or JPG images, you need to install Imagick or the GD library.


See example images for all supported barcode types A note about PNG and JPG images Because of the best scanner support, variable length and most chars supported. Most used types are TYPE_CODE_128 and TYPE_CODE_39. Please see wikipedia for supported chars and lengths per type. All types support different character sets or have mandatory lengths. $generatorSVG = new Picqer\ Barcode\ BarcodeGeneratorSVG() // Vector based SVG $generatorPNG = new Picqer\ Barcode\ BarcodeGeneratorPNG() // Pixel based PNG $generatorJPG = new Picqer\ Barcode\ BarcodeGeneratorJPG() // Pixel based JPG $generatorHTML = new Picqer\ Barcode\ BarcodeGeneratorHTML() // Pixel based HTML $generatorHTML = new Picqer\ Barcode\ BarcodeGeneratorDynamicHTML() // Vector based HTML Accepted barcode types
