yeejiawei/laravel-qrcode is a Laravel package for laravel wrapper for phpqrcode.
It currently has 0 GitHub stars and 61 downloads on Packagist (latest version 0.1.0).
Install it with composer require yeejiawei/laravel-qrcode.
Discover more Laravel packages by yeejiawei
or browse all Laravel packages to compare alternatives.
Last updated
You can install the package via composer:
composer require yeejiawei/laravel-qrcode
use \Yeejiawei\LaravelQrcode\LaravelQrcode;
$qr = LaravelQrcode::create('test');
$qr->setErrorCorrectionLevel(ErrorCorrectionLevel::QR_ECLEVEL_M); // default is ErrorCorrectionLevel::QR_ECLEVEL_M
$qr->setSize(100); // Set size of the qr code
$qr->setMargin(4); // Set margin of the qr code
$qr->save(storage_path('app/qr.png'));
The MIT License (MIT). Please see License File for more information.