2017 © Pedro Peláez
 

symfony-bundle qrcode-bundle

A bundle providing a tight Symfony2 and Twig integration aiming to support multiple QRCode libraries.

image

zikarsky/qrcode-bundle

A bundle providing a tight Symfony2 and Twig integration aiming to support multiple QRCode libraries.

  • Thursday, October 10, 2013
  • by bzikarsky
  • Repository
  • 1 Watchers
  • 0 Stars
  • 59 Installations
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

QRCodeBundle

This bundle aims for an easy Symfony2 and Twig integration for QRCodes. It allows for multiple qr-implementations and different storage-solutions to store qr-code-configuration between requests., (*1)

Current state

While most of the groundwork is done, the library is in pre-alpha state. There is only 1 renderer implementation (for endroid/qrcode) and only a session-storage. Also tests and documentation are insufficient or even missing., (*2)

But it works in this specific configuration, (*3)

Examples

Assuming $container is the Symfony2 DIC:, (*4)

use Zikarsky\Bundle\QRCodeBundle as QR;

$qrcodeService = $container->get('zikarsky_qrcode.service');
$qrCode = new QR\QRCode('Test');

/** @var $renderedQRCode QR\RenderedQRCode */
$renderedQRCode = $qrCodeService->render($qrCode);

Or in a twig template:, (*5)

<img src="{{ qrcode("test", 150, "medium") }}" />

The Versions

10/10 2013

dev-master

9999999-dev https://github.com/bzikarsky/qrcode-bundle

A bundle providing a tight Symfony2 and Twig integration aiming to support multiple QRCode libraries.

  Sources   Download

MIT

The Requires

 

by Benjamin Zikarsky

10/10 2013

0.1

0.1.0.0 https://github.com/bzikarsky/qrcode-bundle

A bundle providing a tight Symfony2 and Twig integration aiming to support multiple QRCode libraries.

  Sources   Download

MIT

The Requires

 

by Benjamin Zikarsky