prinsfrank/mrtd
最新稳定版本:v0.1
Composer 安装命令:
composer require prinsfrank/mrtd
包简介
Machine-Readable Travel Document parser
README 文档
README
MRTD - Machine Readable Travel Documents
Machine Readable Travel Documents are everywhere. They are standardized by ICAO - the International Civil Aviation Organization, a United Nations specialized agency.
MRTDs are standardized in Doc series 9303.
This Package currently implements retrieving data from MRZ strings and checking data integrity by calculating check digits. It doesn't implement generating MRZ strings from data or checking data correctness from source data to encoded data. Feel free to contribute!
Setup
Note Make sure you are running PHP 8.1 or higher to use this package
To start right away, run the following command in your composer project;
composer require prinsfrank/mrtd
Or for development only;
composer require prinsfrank/mrtd --dev
MRTD1
Format as specified in Doc 9303 Part 5, Appendix B. (Hover for short descriptions)
| I< | UTO | D23145890 | 7 | <<<<<<<<<<<<<<< | |||||||||||||||||||||||||
| 740812 | 2 | F | 120415 | 9 | UTO | <<<<<<<<<<< | 6 | ||||||||||||||||||||||
| ERIKSSON<<ANNA<MARIA<<<<<<<<<< | |||||||||||||||||||||||||||||
MRTD2
Format as specified in Doc 9303 Part 6, Appendix B. (Hover for short descriptions)
| I< | UTO | ERIKSSON<<ANNA<MARIA<<<<<<<<<<< | |||||||||||||||||||||||||||||||||
| D23145890 | 7 | UTO | 740812 | 2 | F | 120415 | 9 | <<<<<<< | 6 | ||||||||||||||||||||||||||
MRTD3
Format as specified in Doc 9303 Part 4, Appendix B. (Hover for short descriptions)
| P< | UTO | ERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<< | |||||||||||||||||||||||||||||||||||||||||
| L898902C3 | 7 | UTO | 740812 | 2 | F | 120415 | 9 | ZE184226B<<<<< | 1 | 0 | |||||||||||||||||||||||||||||||||
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-04