2017 © Pedro Peláez
 

library tc-lib-barcode

PHP library to generate linear and bidimensional barcodes

image

intaro/tc-lib-barcode

PHP library to generate linear and bidimensional barcodes

  • Wednesday, February 28, 2018
  • by kruglov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11,249 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 24 Forks
  • 0 Open issues
  • 14 Versions
  • 11 % Grown

The README.md

tc-lib-barcode

Please consider supporting this project by making a donation to paypal@tecnick.com, (*1)

  • category Library
  • package \Com\Tecnick\Barcode
  • author Nicola Asuni info@tecnick.com
  • copyright 2015-2015 Nicola Asuni - Tecnick.com LTD
  • license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
  • link https://github.com/tecnick.com/tc-lib-barcode

Description

This library includes utility PHP classes to generate linear and bidimensional barcodes:, (*2)

  • C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9
  • C39+ : CODE 39 with checksum
  • C39E : CODE 39 EXTENDED
  • C39E+ : CODE 39 EXTENDED + CHECKSUM
  • C93 : CODE 93 - USS-93
  • S25 : Standard 2 of 5
  • S25+ : Standard 2 of 5 + CHECKSUM
  • I25 : Interleaved 2 of 5
  • I25+ : Interleaved 2 of 5 + CHECKSUM
  • C128 : CODE 128
  • C128A : CODE 128 A
  • C128B : CODE 128 B
  • C128C : CODE 128 C
  • EAN2 : 2-Digits UPC-Based Extension
  • EAN5 : 5-Digits UPC-Based Extension
  • EAN8 : EAN 8
  • EAN13 : EAN 13
  • UPCA : UPC-A
  • UPCE : UPC-E
  • MSI : MSI (Variation of Plessey code)
  • MSI+ : MSI + CHECKSUM (modulo 11)
  • POSTNET : POSTNET
  • PLANET : PLANET
  • RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
  • KIX : KIX (Klant index - Customer index)
  • IMB : IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
  • IMBPRE : IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200- pre-processed
  • CODABAR : CODABAR
  • CODE11 : CODE 11
  • PHARMA : PHARMACODE
  • PHARMA2T : PHARMACODE TWO-TRACKS
  • DATAMATRIX : DATAMATRIX (ISO/IEC 16022)
  • PDF417 : PDF417 (ISO/IEC 15438:2006)
  • QRCODE : QR-CODE
  • RAW : 2D RAW MODE comma-separated rows
  • RAW2 : 2D RAW MODE rows enclosed in square parentheses

The initial source code has been extracted from TCPDF (http://www.tcpdf.org)., (*3)

Getting started

First, you need to install all development dependencies using Composer:, (*4)

$ curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composer

This project include a Makefile that allows you to test and build the project with simple commands. To see all available options:, (*5)

make help

To install all the development dependencies:, (*6)

make build_dev

Running all tests

Before committing the code, please check if it passes all tests using, (*7)

make qa_all

this generates the phpunit coverage report in target/coverage. Please check if the tests are covering all code., (*8)

Generate the documentation:, (*9)

make docs

Generate static analysis reports in target/report:, (*10)

make reports

Other make options allows you to install this library globally and build an RPM package. Please check all the available options using make help., (*11)

Example

Examples are located in the example directory., (*12)

Start a development server (requires PHP 5.5) using the command:, (*13)

make server

and point your browser to http://localhost:8000/index.php, (*14)

Installation

Create a composer.json in your projects root-directory:, (*15)

{
    "require": {
        "tecnick.com/tc-lib-barcode": "dev-master"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:tecnickcom/tc-lib-barcode.git"
        }
    ]
}

Packaging

This library is mainly intended to be used and included in other PHP projects using Composer. However, since some production environments dictates the installation of any application as RPM or DEB packages, this library includes make targets for building these packages (make rpm and make deb). The packages are generated under the target directory., (*16)

When this library is installed using an RPM or DEB package, you can use it your code by including the autoloader:, (*17)

require_once ('/usr/share/php/Com/Tecnick/Barcode/autoload.php');

Developer(s) Contact

The Versions

28/02 2018

dev-master

9999999-dev http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

LGPL-3.0 GNU-LGPL v3

The Requires

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

26/08 2015

dev-develop

dev-develop http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

26/08 2015

1.4.2

1.4.2.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

11/08 2015

1.4.1

1.4.1.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

10/08 2015

1.4.0

1.4.0.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

08/08 2015

1.3.1

1.3.1.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

06/08 2015

1.3.0

1.3.0.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

21/07 2015

1.2.1

1.2.1.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

02/07 2015

1.2.0

1.2.0.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

01/07 2015

1.1.3

1.1.3.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

18/06 2015

1.1.2

1.1.2.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

14/05 2015

1.1.1

1.1.1.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200 code 128 a b c

05/05 2015

1.1.0

1.1.0.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200

06/04 2015

1.0.0

1.0.0.0 http://www.tecnick.com

PHP library to generate linear and bidimensional barcodes

  Sources   Download

GNU-LGPL v3

The Requires

  • php >=5.3.3
  • tecnick.com/tc-lib-color dev-master

 

The Development Requires

barcode datamatrix pdf417 code 39 codabar qr-code planet upc standard 2 of 5 msi postnet kix code 93 interleaved 2 of 5 upc-a upc-e royal mail cbc tc-lib-barcode ansi mh10.8m-1983 usd-3 3 of 9 uss-93 ean 8 ean 13 rms4cc klant intelligent mail barcode onecode usps-b-3200 code 11 pharmacode pharmacode two-tracks ecc200