PHP Classes

Barcode Generator: Web interface to generate barcode images

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (48)   DownloadInstall with Composer Download .zip   Reputation   Support forum (21)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 21,734 All time: 28 This week: 73Down
Version License PHP version Categories
barcode_generator 1.0.0Free for non-comm...3PHP 5, Graphics


This package implements a Web interface to generate barcode images according to well-known barcode formating standards.

Currently it supports the following barcode format standards: Codabar, Code11, Code39, Code93, Code128, EAN-8, EAN-13, ISBN, Interleaved 2 of 5, Standard 2 of 5, MSI Plessey, UPC-A, UPC-E, UPC Extension 2, UPC Extension 5 and PostNet.

The output images generated according to most of the standards have been tested with a barcode reader device to confirm that they are correctly generated.

The classes require at least PHP 5.0.3 due to a bug in PHP found in previous versions that affects mainly the Code128 generation class. The PHP GD 2 extension is also required.

Innovation Award
PHP Programming Innovation award nominee
March 2005
Number 5

Prize: One downloadable copy of Komodo Pro
The generation of barcode graphics is often useful for applications that need to generate documents or labels to be printed and delivered by physical means.

There are many different standards that define the details of rendering barcodes.

This class provides a solution that covers the generation of barcode graphics according to many of the most used barcode standards.

Manuel Lemos
Picture of Jean-Sébastien Goupil
Name: Jean-Sébastien Goupil <contact>
Classes: 3 packages by
Country: Canada Canada
Age: 38
All time rank: 542 in Canada Canada
Week rank: 290 Down6 in Canada Canada Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  • code39_sample.gif
  Files folder image Files  
File Role Description
Files folder imageclass (22 files)
Files folder imagehtml (22 files)
Plain text file index.php Aux. Redirection Script
Accessible without login Plain text file INSTALL Doc. Help to Install the barcode
Plain text file test.php Example Sample Test File
Plain text file VERSION Doc. Version File

  Files folder image Files  /  class  
File Role Description
  Plain text file BarCode.php Class BarCode Holder
  Plain text file codabar.barcode.php Class Codabar File
  Plain text file code11.barcode.php Class Code11 File
  Plain text file code128.barcode.php Class Code128 File
  Plain text file code39.barcode.php Class Code39 File
  Plain text file code93.barcode.php Class Code93 File
  Plain text file ean13.barcode.php Class EAN13 File
  Plain text file ean8.barcode.php Class EAN8 File
  Plain text file FColor.php Class FColor
  Plain text file FDrawing.php Class FDrawing
  Plain text file i25.barcode.php Class Interleaved 2of5 File
  Plain text file index.php Class Index
  Plain text file LSTable.php Class LSTable HTML Table
  Plain text file msi.barcode.php Class MSI File
  Plain text file othercode.barcode.php Class Other Barcode File
  Plain text file postnet.barcode.php Class Postnet File
  Plain text file s25.barcode.php Class Standard 2 of 5 File
  Plain text file Table_template.php Class Table Template
  Plain text file upca.barcode.php Class UPCA File
  Plain text file upce.barcode.php Class UPCE File
  Plain text file upcext2.barcode.php Class UPC Extended 2 File
  Plain text file upcext5.barcode.php Class UPC Extended 5 File

  Files folder image Files  /  html  
File Role Description
  Plain text file codabar.php Appl. WebPage Codabar
  Plain text file code11.php Appl. WebPage Code11
  Plain text file code128.php Appl. WebPage Code128
  Plain text file code39.php Appl. WebPage Code39
  Plain text file code93.php Appl. WebPage Code93
  Plain text file ean13.php Appl. WebPage EAN13
  Plain text file ean8.php Appl. WebPage EAN8
  Image file error.png Icon ErrorImage
  Plain text file footer.php Aux. Footer File
  Plain text file function.php Aux. Function File
  Plain text file header.php Aux. Header File
  Plain text file i25.php Appl. WebPage I25
  Plain text file image.php Appl. Image Displayer
  Plain text file msi.php Appl. WebPage MSI
  Plain text file othercode.php Appl. WebPage Other
  Plain text file postnet.php Appl. WebPage Postnet
  Plain text file s25.php Appl. WebPage S25
  Plain text file style.css Data Style Sheet
  Plain text file upca.php Appl. WebPage UPCA
  Plain text file upce.php Appl. WebPage UPCE
  Plain text file upcext2.php Appl. WebPage UPC Extended 2
  Plain text file upcext5.php Appl. WebPage UPC Extended 5

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:28
This week:73Down
User Ratings User Comments (8)
 All time
Thank you.
8 years ago (DHN Chandan)
qrcode class may be added, it is a good collection.
12 years ago (Hamdi Gümü?)
We use it in our MedSchool Library to generate barcode for ou...
16 years ago (Mohammad Rizki)
12 years ago (fathur)
14 years ago (kishore kumar)
Many thanks, is a jewel.
15 years ago (zafado)
16 years ago (Hsuyen Hung)
16 years ago (cedasy)