Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Robin Thoni 6486178dfa updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans
..
assets updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans
src updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans
tests updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans
LICENSE updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans
README.md updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans
composer.json updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans
phpunit.xml.dist updated postgres docker; updated rounecube to 1.3.6 il y a 6 ans

README.md

QR Code

By endroid

Latest Stable Version Build Status Total Downloads License

This library based on QRcode Perl CGI & PHP scripts by Y. Swetake helps you generate images containing a QR code.

Installation

Use Composer to install the library.

$ composer require endroid/qrcode

Usage

<?php

use Endroid\QrCode\QrCode;

$qrCode = new QrCode();
$qrCode
    ->setText("Life is too short to be generating QR codes")
    ->setSize(300)
    ->setPadding(10)
    ->setErrorCorrection('high')
    ->setForegroundColor(array('r' => 0, 'g' => 0, 'b' => 0, 'a' => 0))
    ->setBackgroundColor(array('r' => 255, 'g' => 255, 'b' => 255, 'a' => 0))
    ->setLabel('My label')
    ->setLabelFontSize(16)
    ->render()
;

QR Code

Symfony

You can use EndroidQrCodeBundle to integrate this service in your Symfony application.

Versioning

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatible changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.

License

This bundle is under the MIT license. For the full copyright and license information please view the LICENSE file that was distributed with this source code.