PHP code example of markup / barcode-bundle

1. Go to this page and download the library: Download markup/barcode-bundle 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/ */

    

markup / barcode-bundle example snippets


    public function registerBundles()
    {
        $bundles = [
            ...
            new Markup\BarcodeBundle\MarkupBarcodeBundle(),
        ];
        ...
    }
bash
$ php composer.phar update markup/barcode-bundle
html+jinja
    <img src="{{ barcode_text_you_are_encoding|markup_barcode_data_uri('invoice') }}">