PHP Classes

Barcode PHP: Generate barcode in GD and PDF

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 7,799 All time: 225 This week: 157Up
Version License PHP version Categories
barcode-php 1.0.0GNU General Publi...5PHP 5, Graphics
Description Author

This class can be used to generate barcode in images and PDF files.

It can take a GD image ressource and render a barcode on it.

The class can also render a barcode in a PDF object of the class FPDF.

Currently it supports barcodes in the formats: codabar, code 11, code 39, code 93, code 128, ean 8, ean 13, standard 2 of 5, interleaved 2 of 5, msi and datamatrix.


Print Barcode in my PDF invoice
Generate invoice in PDF with barcode to print on it

Picture of Jean-Baptiste DEMONTE
Name: Jean-Baptiste DEMONTE <contact>
Classes: 1 package by
Country: France France
Age: 42
All time rank: 33621 in France France
Week rank: 563 Down19 in France France Up

  Files folder image Files  
File Role Description
Plain text file Barcode.php Class Barcode class
Accessible without login Plain text file sample-gd.php Example GD example
Accessible without login Plain text file sample-fpdf.php Example FPDF Example 12KB
Downloadbarcode-php-2010-09-27.tar.gz 11KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
FPDF Download .zip .tar.gz to generate PDF Conditional
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:225
This week:157Up
User Ratings User Comments (4)
 All time
go to his website for the latest version
6 years ago (Sarah King)
6 years ago (Hendro)
I cant do some things but good extension and very recomendable
6 years ago (Ángel Manso Pérez)
that's very usefull, i have tested the print of barcodes with...
9 years ago (selcuk mart)