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!
- Download and extract into libraries path
- Include your library in controller
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());
}
}
#v1.0 Release
License : MIT License
Official Authors @desta