PHP code example of shootkiran / fonepay-dynamic-qr-laravel
1. Go to this page and download the library: Download shootkiran/fonepay-dynamic-qr-laravel 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/ */
shootkiran / fonepay-dynamic-qr-laravel example snippets
use ShootKiran\DynamicQrGeneratorFonepay\FonePayQR;
$qrcode = FonePayQR::generate(100, 'Order123', 'Test Payment', 'PRN123');
$status = FonePayQR::verify('PRN123');