Skip to content
Barcode Generator for Mautic
Branch: master
Clone or download
Latest commit 2a7281d Mar 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets/img
Config generate barcode as image by controller Mar 19, 2019
Controller Remove not used statement Mar 21, 2019
EventListener Remove test code Feb 10, 2019
Integration
Tests/Token
Token
MauticBarcodeGeneratorBundle.php
README.md
composer.json Rename repo in composer Feb 10, 2019

README.md

Mautic Barcode Generator Bundle

Barcode generator for Mautic.

Mautic Extendee family for Mautic (https://mtcextendee.com)

Installation

Installation by command line:

composer require mtcextendee/mautic-barcode-generator-bundle

Usage

Use {barcode=custom_field_alias} token in page or email builder.

Barcode examples

Output types (default PNG image):

{barcode=custom_contact_field}

{barcodePNG=custom_contact_field}      

{barcodeJPG=custom_contact_field}

{barcodeSVG=custom_contact_field}

{barcodeHTML=custom_contact_field} 

Barcode types (default TYPE_CODE_128):

{barcode=custom_contact_field|TYPE_CODE_39}

{barcode=custom_contact_field|TYPE_EAN_5}

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

Input in email/page builder

Output

Unit tests

phpunit --bootstrap ../vendor/autoload.php --configuration ../app/phpunit.xml.dist -d memory_limit=2048M --filter BarcodeTokenReplacerTest

Cudos:

You can’t perform that action at this time.