desta88 / Codeigniter-Barcode

Create barcode generator for Codeigniter using Zend Library (Support Codeigniter 2 & 3)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codeigniter-Barcode

Codeigniter-Barcode by Zend Library - Changelog & Documentation

Maintenance Github all releases HitCount

GitHub forks GitHub stars

Create barcode generator using Zend Library

It's so easy to use, you just extract the library into libraries path and then put library in controller, check it out now!

Installation

  1. Download and extract into libraries path
  2. Include your library in controller

Usage

class Main extends CI_Controller {

	public function index()
	{
		// You can put anything here to generate of barcode
		$string = 'code39';
		$this->set_barcode($string);
	}
	
	private function set_barcode($code)
	{
		// Load library
		$this->load->library('zend');
		// Load in folder Zend
		$this->zend->load('Zend/Barcode');
		// Generate barcode
		Zend_Barcode::render('code128', 'image', array('text'=>$code), array());
	}
	
}

Changelog Update

#v1.0 Release

License

License : MIT License

Authors

Official Authors @desta

About

Create barcode generator for Codeigniter using Zend Library (Support Codeigniter 2 & 3)

License:MIT License


Languages

Language:PHP 99.8%Language:HTML 0.2%