Download the PHP package zikarsky/qrcode-bundle without Composer
On this page you can find all versions of the php package zikarsky/qrcode-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zikarsky/qrcode-bundle
More information about zikarsky/qrcode-bundle
Files in zikarsky/qrcode-bundle
Package qrcode-bundle
Short Description A bundle providing a tight Symfony2 and Twig integration aiming to support multiple QRCode libraries.
License MIT
Homepage https://github.com/bzikarsky/qrcode-bundle
Informations about the package qrcode-bundle
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.
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.
But it works in this specific configuration
Examples
Assuming $container is the Symfony2 DIC:
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:
<img src="{{ qrcode("test", 150, "medium") }}" />
All versions of qrcode-bundle with dependencies
symfony/http-foundation Version ~2.3
symfony/http-kernel Version ~2.3
symfony/config Version ~2.3
endroid/qrcode Version ~1.1