PHP code example of banelsems / lara-sgmef-qr
1. Go to this page and download the library: Download banelsems/lara-sgmef-qr 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/ */
banelsems / lara-sgmef-qr example snippets
$invoiceNormalize = app('laraSgmefQR');
$data = [
'dateTime' => '2023-07-02T15:22:34+00:00',
'qrCode' => '1234567890',
'codeMECeFDGI' => '1234567890',
'counters' => '1234567890',
'nim' => '1234567890',
'errorCode' => 'OK',
'errorDesc' => 'No error',
];
$normalizedInvoice = $invoiceNormalize->normalize($data);