Skip to content

tetrahydra/SolidusMRZ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SolidusMRZ

PHP Parse MRZ from Passport, Visa or ID-1

Original development was for my website www.PaperToTravel.com but I am sure it will be useful for other's project as well.

Read an input and return parsed data in an array which can be manipulated further either for usage within PHP environment or output as JSON.

For simple usage, include mrz.php into your project file.

$MRZ = new SolidusMRZ;
$mrzocr = 'PTUNKKONI<<MARTINA<<<<<<<<<<<<<<<<<<<<<<<<<<K0503499<8UNK9701241F06022201170650553<<<<10';
$data = $MRZ->parseMRZ($mrzocr);
print_r($data);

About

PHP Parse MRZ from Passport, Visa or ID-1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages