PHP code example of muktar-sayedsaleh / zakat-tlv-generator

1. Go to this page and download the library: Download muktar-sayedsaleh/zakat-tlv-generator 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/ */

    

muktar-sayedsaleh / zakat-tlv-generator example snippets


use MuktarSayedSaleh\ZakatTlv\Encoder;

$encoder = new Encoder();
$qr_signature = $encoder->encode(
    "Axis Inspection - Sparehub",
    "1234567890",
    null,
    10000,
    150
);

// Use the signature to render your QR image!