项目作者: desta88

项目描述 :
Create barcode generator for Codeigniter using Zend Library (Support Codeigniter 2 & 3)
高级语言: PHP
项目地址: git://github.com/desta88/Codeigniter-Barcode.git
创建时间: 2014-12-07T00:18:16Z
项目社区:https://github.com/desta88/Codeigniter-Barcode

开源协议:MIT License

下载


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

  1. class Main extends CI_Controller {
  2. public function index()
  3. {
  4. // You can put anything here to generate of barcode
  5. $string = 'code39';
  6. $this->set_barcode($string);
  7. }
  8. private function set_barcode($code)
  9. {
  10. // Load library
  11. $this->load->library('zend');
  12. // Load in folder Zend
  13. $this->zend->load('Zend/Barcode');
  14. // Generate barcode
  15. Zend_Barcode::render('code128', 'image', array('text'=>$code), array());
  16. }
  17. }

Changelog Update

v1.0 Release

License

License : MIT License

Authors

Official Authors @desta