Skip to content

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

License

Notifications You must be signed in to change notification settings

desta88/Codeigniter-Barcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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