PHPackages                             chrisandchris/barcode-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. chrisandchris/barcode-bundle

AbandonedArchivedSymfony-bundle[Templating &amp; Views](/categories/templating)

chrisandchris/barcode-bundle
============================

Symfony 3 &amp; 4 Barcode Generator Bundle with Twig function extension

v2.0.0(8y ago)759.1k↓46.2%18[1 issues](https://github.com/chrisandchris/barcode-bundle/issues)GNU-LGPLv3PHPPHP &gt;=5.5.9|^7.0

Since May 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/chrisandchris/barcode-bundle)[ Packagist](https://packagist.org/packages/chrisandchris/barcode-bundle)[ RSS](/packages/chrisandchris-barcode-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

SGKBarcodeBundle
================

[](#sgkbarcodebundle)

SGKBarcodeBundle is a Symfony3 / 4 Barcode Generator Bundle.

Features:

1. Support 3 two-dimensional (2D) and 30 one-dimensional (1D) Barcode types
2. Three output formats: HTML, PNG and SVG canvas
3. Twig integration: you can simply use a extensional function of Twig in the template to generate Barcode
4. Core of this bundle from this project [tc-lib-barcode](https://github.com/tecnickcom/tc-lib-barcode)

[![SGKBarcodeBundle](Resources/doc/README.png)](Resources/doc/README.png)

Installation
------------

[](#installation)

Add SGKBarcodeBundle by running the command:

```
$ php composer.phar require sgk/barcode-bundle:v2.0.0
```

Or, add SGKBarcodeBundle to your `composer.json`, then execute `php composer.phar update`

```
"require": {
        "sgk/barcode-bundle": "v2.0.0"
    }
```

Composer will install the bundle to your project's vendor/sgk directory.

Then, Enable the bundle in the kernel:

```
