PHPackages                             nikitospush/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. nikitospush/barcode-bundle

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

nikitospush/barcode-bundle
==========================

Symfony 4, 5, 6 ,7 Barcode Generator Bundle with Twig function extension

4.0.0(3y ago)318.2k↓22.7%6[1 PRs](https://github.com/nikitospush/barcode-bundle/pulls)Apache-2.0PHPPHP ^7.4|^8.0

Since May 29Pushed 2y agoCompare

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

READMEChangelog (1)Dependencies (6)Versions (8)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:

```
