Codeigniter-Barcode
Codeigniter-Barcode copied to clipboard
Create barcode generator for Codeigniter using Zend Library (Support Codeigniter 2 & 3)
Codeigniter-Barcode
Codeigniter-Barcode by Zend Library - Changelog & Documentation
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
- Download and extract into libraries path
- 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