PHPackages                             uc/qrcode-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. uc/qrcode-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

uc/qrcode-bundle
================

Symfony 3 bundle integrate QRcode into a Symfony project

1284PHP

Since Jul 6Pushed 8y ago2 watchersCompare

[ Source](https://github.com/Zeppelinen-DevOps/symfony2-qrcode-bundle)[ Packagist](https://packagist.org/packages/uc/qrcode-bundle)[ RSS](/packages/uc-qrcode-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

UniCenter QRCode Bundle
=======================

[](#unicenter-qrcode-bundle)

### Installation

[](#installation)

To install this bundle, run the command below and you will get the latest version from \[Packagist\]\[3\].

@see

```
composer require endroid/qrcode
```

Then enable it in your kernel:

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Endroid\QrCode\Bundle\EndroidQrCodeBundle(),
    ];
}
```

@see

With composer, add:

```
{
    "require": {
        "knplabs/knp-snappy-bundle": "~1.4"
    }
}
```

Then enable it in your kernel:

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        //...
        new Knp\Bundle\SnappyBundle\KnpSnappyBundle(),
        //...
```

And set-up the required configuration

```
# app/config/config.yml
knp_snappy:
    pdf:
        enabled:    true
        binary:     /usr/local/bin/wkhtmltopdf #"\"C:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltopdf.exe\"" for Windows users
        options:    []
    image:
        enabled:    true
        binary:     /usr/local/bin/wkhtmltoimage #"\"C:\\Program Files\\wkhtmltopdf\\bin\\wkhtmltoimage.exe\"" for Windows users
        options:    []
```

```
composer require sfk/email-template-bundle dev-master
```

```
composer require uc/qrcode-bundle dev-master
```

Load required bundles in AppKernel.php:

```
// app/AppKernel.php
public function registerBundles()
{
  $bundles = array(
    // [...]
    new Uc\PaymentBundle\UcQCodeBundle(),
  );
}
```

###### Create a QRCode

[](#create-a-qrcode)

```
/**
 * $vars = [
 *     'code' => '' // Encode string,
 *     'orderId' => '' // Order ID
 * ]
 * @return string = '/uploads/tmp/orderId . date('dmY') .svg' // file location
 */
$QManager->generateQCode($vars = []);
```

###### Build a PDF

[](#build-a-pdf)

```
/**
 * $vars = [
 *     'html'    => '' //Html content which will be processed to pdf
 *     'name'  => '' //PDF name
 * ]
 * @return array = [
 *     'path' => '' //File location
 *     'pdf'  => '' //PDF raw
 * ]
*/
$PDFManger->progressPDF($vars = []);
```

###### Send email

[](#send-email)

```
/**
 * $vars = [
 *     'sender'    => '' //Email sender
 *     'recipient' => '' //Email recipient
 *     'subject'   => '' //Email subject
 *     'body'      => '' //Email body
 *     'pdf'       => '' //Attachment pdf file location
 * ]
*/
$DeliveryManager->onSendEmail($vars = []);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/77c65cebf8ed3d16a6ca9fc1f78b43cbc8536096225fc22ce7a6e2affbf76f76?d=identicon)[praesyx](/maintainers/praesyx)

---

Top Contributors

[![praesyx](https://avatars.githubusercontent.com/u/29442534?v=4)](https://github.com/praesyx "praesyx (3 commits)")

### Embed Badge

![Health badge](/badges/uc-qrcode-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/uc-qrcode-bundle/health.svg)](https://phpackages.com/packages/uc-qrcode-bundle)
```

###  Alternatives

[memio/spec-gen

phpspec extension for better code generation

66204.3k28](/packages/memio-spec-gen)[tuandm/geoip2

Extended MaxMind GeoIP2 PHP API

108.5k](/packages/tuandm-geoip2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
