barcodegenerator This is an extension to generate a standard / traditional barcode (as images)

  1. Requirements
  2. Usage

This is an extension to generate a standard / traditional barcode (as images)

Requirements

  • Yii 1.1 or above (Tested on Yii 1.1)
  • PHP GD Lib

Usage

I've updated extension for simple use :

[1] Download 'barcodegenerator_v1_0_1.zip', extract and copy folder 'barcodegenerator' to your extensions folder (protected/extensions)

[2] In /protected/config/main.php :

'controllerMap' => array(
		// ...
		'barcodegenerator' => array(
			'class' => 'ext.barcodegenerator.BarcodeGeneratorController',
		),
	),

[3] Now You Can Call action of this extension like this (in browser, assume your yii apps folder is /sampleapps) : > http://localhost/sampleapps/barcodegenerator/generatebarcode?code=1234567890ABCDEF

[4] For further usage, you can attach on any html img tag :

<img src="http://localhost/sampleapps/barcodegenerator/generatebarcode?code=1234567890ABCDEF">
5 0
12 followers
1 424 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: 144key
Created on: Sep 2, 2012
Last updated: 5 years ago

Downloads

show all

Related Extensions