Skip to content

Releases: alphaolomi/php-mrz

v1.1.0

15 Nov 08:20
8dbfe51
Compare
Choose a tag to compare

🎉 What's Changed in v1.1.0

Added

  • Add MrzParser class

     use Alphaolomi\Mrz\MrzParser;
     
     $mrzParser = new MrzParser();
     
     $mrzOcrString = 'PTUNKKONI<<MARTINA<<<<<<<<<<<<<<<<<<<<<<<<<<K0503499<8UNK9701241F06022201170650553<<<<10';
     
     $mrzData = $mrzParser->parse($mrzOcrString);
     
     print(json_encode($mrzData, JSON_PRETTY_PRINT));
  • GitHub Sponsors support via FUNDING.yml.

  • Comprehensive testing setup using GitHub Actions for PHP 8.1 and 8.2 across Ubuntu and Windows.

Changed

  • Minor documentation( in README.md) improvements for better clarity.
  • Skipping Accent Dialectic characters functionality.
  • Updated .gitignore to exclude additional files (*.cache, composer.lock, etc.) for cleaner repository management.

Notes

  • This release focuses on project sustainability and quality assurance enhancements.

Updating

composer update alphaolomi/mrz

PRs

Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

13 Nov 08:34
Compare
Choose a tag to compare
fix: use of deprecated functions

v1.0.0

13 Nov 08:21
Compare
Choose a tag to compare

🎉 Initial Release

MRZ for PHP

Machine Readable Zone for PHP, originally based on mrz

Install

Via Composer

composer require alphaolomi/mrz

Usage

$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();

Full Changelog: https://github.com/alphaolomi/php-mrz/commits/v1.0.0