Source code for the article "How To Create Barcodes in PHP" found at http://davidscotttufts.com/2009/03/31/how-to-create-barcodes-in-php/
Switch branches/tags
Nothing to show
Clone or download
Latest commit 5566214 Jul 30, 2016
Permalink
Failed to load latest commit information.
LICENSE Initial commit Sep 23, 2013
README.md Update README.md Sep 23, 2013
barcode.php Added SizeFactor property Jul 28, 2016

README.md

php-barcode

Source code for the article "How To Create Barcodes in PHP" found at: http://davidscotttufts.com/2009/03/31/how-to-create-barcodes-in-php/

This script that generates barcodes in four barcode formats including Code 128, Code 39, Code 2of5, and Codabar. With a little over 100 lines of code you have the options of “vertical” or “horizontal” display, varying barcode heights, and one of four barcode formats. It does require the GD Library to be installed as a module in PHP.

Usage: <img alt="testing" src="barcode.php?text=testing" />

Result: testing