Skip to content

ShenXuGongZi/QrCode

 
 

Repository files navigation

Endroid QR Code

By endroid

Latest Stable Version Build Status Total Downloads License PayPayl donate button

This library helps you generate images containing a QR code.

<?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));
    ->render();

QR Code

Symfony

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

Versioning

Semantic versioning (semver) is applied.

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.

About

Endroid QR Code Generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%