PHP code example of algoyounes / qr-forge
1. Go to this page and download the library: Download algoyounes/qr-forge library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
algoyounes / qr-forge example snippets
use AlgoYounes\QRForge\Facades\QRForge;
$base64 = QRForge::fromArray([ Tag::create(1, 'test') ])->base64();
use AlgoYounes\QRForge\Facades\QRForge;
$plain = QRForge::fromArray([ Tag::create(1, 'test') ])->plain();
use AlgoYounes\QRForge\Facades\QRForge;
QRForge::fromArray([ Tag::create(1, 'test') ])->render();