PHP code example of jfilla / php-barcode-generator

1. Go to this page and download the library: Download jfilla/php-barcode-generator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jfilla / php-barcode-generator example snippets


$generator = new Picqer\Barcode\BarcodeGeneratorPNG();
echo $generator->getBarcode('081231723897', $generator::TYPE_CODE_128);

composer