Skip to content

A simple package that helps PHP developers to generate the QR code signature as per Zakat authority (ZATCA) requirements of Saudi Arabia.

License

Notifications You must be signed in to change notification settings

Moo00h/saudi-zakat-qr-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A PHP package that implements the e-invoice QR code signature requirements as designed by the Zakat authority of Saudi Arabia.

How to install?

composer require muktar-sayedsaleh/zakat-tlv-generator

How to use?

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!

Notes:

  1. If you pass the third parameter as null, the package will assume that we're passing the current time stamp. Otherwise you may pass your own timestamp as a string.

About

A simple package that helps PHP developers to generate the QR code signature as per Zakat authority (ZATCA) requirements of Saudi Arabia.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%