php-barcode-generator icon indicating copy to clipboard operation
php-barcode-generator copied to clipboard

Barcode generator in PHP that is easy to use, non-bloated and framework independent.

Results 23 php-barcode-generator issues
Sort by recently updated
recently updated
newest added

It would be good to have widthFactor to be float instead of int to allow better adjustments. I found a similar issue https://github.com/picqer/php-barcode-generator/issues/100 and it says it resolved. but I...

In the PNG generator, the signature is ```php public function getBarcode($barcode, $type, int $widthFactor = 2, int $height = 30, array $foregroundColor = [0, 0, 0]) ``` But in all...

Thanks for the great lib! I used it to create an inline svg, but had to strip the

For barcode generators which allow float width factors, everything is already there to allow this. Let's say I want to have an SVG barcode generated to 250px every time (dynamic...

I'm replacing some deprecated [Emberlabs](https://github.com/emberlabs/barcode) code and php-barcode-generator has been fantastic. I think I'm going to need to do validation for the input barcode content as it doesn't seem to...

Hello Mr @casperbakker, I have one suggestions, because when I used Your library (very very thanks for that) we found a very big problem in our 1D scanner. When we...

Hey guys, does anyone ever meet this problem? the barcode generated looks weird ![barcode (2)](https://github.com/user-attachments/assets/ddf65023-98ab-4455-b1aa-7fe1fed3e269) this is the code to generate it $generator = new \Picqer\Barcode\BarcodeGeneratorJPG(); file_put_contents('media/barcode.jpg', $generator->getBarcode($invoice->getIncrementId(), $generator::TYPE_CODE_39, 1,...

Fixed wrong ITF14/GTIN14 checksum calculation. Also throws InvalidCheckDigitException when wrong check digit is provided. Checksum calculation fixed according to https://www.gs1.org/services/how-calculate-check-digit-manually

Just a recommendation: We need an ID attribute added to the SVG html output for javascript purposes, but it's not currently supported. It would be nice to have an "attributes"...