Releases: alphaolomi/php-mrz
Releases · alphaolomi/php-mrz
v1.1.0
🎉 What's Changed in v1.1.0
Added
-
Add
MrzParser
classuse 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
- ci: add tests GH Action by @alphaolomi in #1
- Refactor and update by @alphaolomi in #2
Contributors
- @alphaolomi made their first contribution in #1
Full Changelog: v1.0.1...v1.1.0
v1.0.1
fix: use of deprecated functions
v1.0.0
🎉 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