algoyounes / qr-forge
PHP Package to generate QR Codes
v1.0.2
2024-09-03 17:25 UTC
Requires
- php: ^8.2
- chillerlan/php-qrcode: ^5.0.2
Requires (Dev)
- pestphp/pest: ^2.28.1
- phpstan/phpstan: 1.10.56
- rector/rector: 0.19.5
This package is not auto-updated.
Last update: 2024-12-25 17:25:58 UTC
README
A PHP package that allows you to generate QR codes with ease.
Installation
You can install the package globally via composer:
composer require algoyounes/qr-forge
Usage
Generate Base64
use AlgoYounes\QRForge\Facades\QRForge; $base64 = QRForge::fromArray([ Tag::create(1, 'test') ])->base64();
Generate Plain
use AlgoYounes\QRForge\Facades\QRForge; $plain = QRForge::fromArray([ Tag::create(1, 'test') ])->plain();
Render A QR Code Image
use AlgoYounes\QRForge\Facades\QRForge; QRForge::fromArray([ Tag::create(1, 'test') ])->render();