PHP code example of alphaolomi / mrz
1. Go to this page and download the library: Download alphaolomi/mrz 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/ */
alphaolomi / mrz example snippets
php
use Alphaolomi\Mrz\Mrz;
$mrz = new Mrz("I", "Tanzania", "D23148958907", date("dmy",strtotime("1999-10-14")), "M", date("dmy",strtotime("2030-12-31")), "TZA", "OLOMI", "ALPHA");
echo $mrz->TD1CodeGenerator();