Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Creates a sscc18 barcode
require_once 'vendor/autoload.php';
$number = 00002347350023848878;
$generator = new Picqer\Barcode\BarcodeGeneratorHTML();
$code = chr(241).$number;
<!DOCTYPE html>
<?php echo $generator->getBarcode($code, Picqer\Barcode\BarcodeGeneratorPNG::TYPE_CODE_128_C, 2, 60); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.