Download the PHP package tito/twig-barcode without Composer
On this page you can find all versions of the php package tito/twig-barcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tito/twig-barcode
More information about tito/twig-barcode
Files in tito/twig-barcode
Download tito/twig-barcode
More information about tito/twig-barcode
Files in tito/twig-barcode
Vendor tito
Package twig-barcode
Short Description Symfony Bundle to generate barcodes within Twig
License
Package twig-barcode
Short Description Symfony Bundle to generate barcodes within Twig
License
Please rate this library. Is it a good library?
Informations about the package twig-barcode
Twig Barcode
Generate barcodes within twig
Installation
Install through composer:
If you want to generate PNG or JPG images, you need the GD library or Imagick installed on your system as well.
Usage
Simply use it like any other Twig function:
Options
Width Factor
With that option you can manipulate the width of the barcode. Default is 2.
That means, the generated width of the barcode will be multiplied with you width factor.
Total Height
With that option you can set the height of the generated barcode. The default is value is 30
Supported Formats
HTML
SVG
PNG
JPG
Supported Types
| Type | Twig Function |
|---|---|
| TYPE_CODE_39 | barcode_*_c39 |
| TYPE_CODE_39_CHECKSUM | barcode_*_c39_plus |
| TYPE_CODE_39E | barcode_*_c39e |
| TYPE_CODE_39E_CHECKSUM | barcode_*_c39e_plus |
| TYPE_CODE_93 | barcode_*_c93 |
| TYPE_STANDARD_2_5 | barcode_*_s25 |
| TYPE_STANDARD_2_5_CHECKSUM | barcode_*_s25_plus |
| TYPE_INTERLEAVED_2_5 | barcode_*_i25 |
| TYPE_INTERLEAVED_2_5_CHECKSUM | barcode_*_i25_plus |
All versions of twig-barcode with dependencies
PHP Build Version
Package Version
Requires
twig/twig Version
^2.4
symfony/symfony Version ^3.4 || ^4.0
picqer/php-barcode-generator Version ^0.3.0
symfony/symfony Version ^3.4 || ^4.0
picqer/php-barcode-generator Version ^0.3.0
The package tito/twig-barcode contains the following files
Loading the files please wait ...