cristiandean/bar-code

There is no license information available for the latest version (dev-master) of this package.

BarCode plugin for CakePHP

Installs: 401

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

Type:cakephp-plugin

dev-master 2017-11-06 15:54 UTC

This package is not auto-updated.

Last update: 2025-05-21 05:03:45 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;