2017 © Pedro PelĂĄez
 

library barcode

Barcode Generator

image

rnv619/barcode

Barcode Generator

  • Saturday, July 14, 2018
  • by rnv619
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHP-BarcodeGenerator

This script generates barcodes in four barcode formats including Code 128, Code 39, Code 2of5, and Codabar, you have options for generating as “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., (*1)

Installation

$ php composer.phar require rnv619/barcode "@dev"

or add, (*2)

"rnv619/barcode": "@dev"

How to Use

  • Create Object of rnv619\barcode\GenerateBarcode class
  • Provice required inputs
  • Done

Example:

require 'vendor/autoload.php';

$gen = new \rnv619\barcode\GenerateBarcode("Code39", "20", "Rahul Ranva", true, "horizontal");
$result = $gen->getCode();
echo "<img alt='testing' src='".$result."'/>";

Supported Barcode Types

  • code128
  • code128b
  • code128a
  • code39
  • code25
  • codabar

The Versions

14/07 2018

dev-master

9999999-dev

Barcode Generator

  Sources   Download

by Rahul Ranva