cristiandean / bar-code
There is no license information available for the latest version (dev-master) of this package.
BarCode plugin for CakePHP
Package info
github.com/cristiandean/bar-code
Type:cakephp-plugin
pkg:composer/cristiandean/bar-code
dev-master
2017-11-06 15:54 UTC
Requires
- cakephp/cakephp: >=3.0.0
Requires (Dev)
- phpunit/phpunit: ^5.7|^6.0
This package is not auto-updated.
Last update: 2026-04-08 09:01:35 UTC
README
A plugin for managing barCode in CakePHP applications.
Installing via composer
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require cristiandean/bar-code
Then in your config\bootstrap.php:
Plugin::load('BarCode');
Accepted types
- TYPE_CODE_39
- TYPE_CODE_39_CHECKSUM
- TYPE_CODE_39E
- TYPE_CODE_39E_CHECKSUM
- TYPE_CODE_93
- TYPE_STANDARD_2_5
- TYPE_STANDARD_2_5_CHECKSUM
- TYPE_INTERLEAVED_2_5
- TYPE_INTERLEAVED_2_5_CHECKSUM
- TYPE_CODE_128
- TYPE_CODE_128_A
- TYPE_CODE_128_B
- TYPE_CODE_128_C
- TYPE_EAN_2
- TYPE_EAN_5
- TYPE_EAN_8
- TYPE_EAN_13
- TYPE_UPC_A
- TYPE_UPC_E
- TYPE_MSI
- TYPE_MSI_CHECKSUM
- TYPE_POSTNET
- TYPE_PLANET
- TYPE_RMS4CC
- TYPE_KIX
- TYPE_IMB
- TYPE_CODABAR
- TYPE_CODE_11
- TYPE_PHARMA_CODE
- TYPE_PHARMA_CODE_TWO_TRACKS
Examples
Embedded PNG image in a Controller:
$this->loadComponent('BarCode.BarCode'); echo $this->BarCode->getBarcodeJPG('0779100015110051582710007957947067161000000500', 'I25'); exit;