How to use Barcode in ZF2?
See https://github.com/zendframework/zend-barcode
The Barcode component is standalone, so you can use it without much magic
by including it with composer and by following its documentation.
What’s your goal? Do want to output only a barcode (as standalone) or do want to include a barcode in HTML?