globalcitizen / php-iso7064
php-iban is a library implementing the pure ISO/IEC 7064 checksum functions.
Installs: 23 717
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 3
Open Issues: 3
README
This is a reference implementation of the various 'pure' ISO7064 algorithms in PHP. It is 100% generated code, from algorithm metadata. Note that the 'hybrid' algorithms are not implemented.
Algorithms implemented
History
August 2020
- Version 1.0.1 released: Various edge case fixes by neo954. Thanks!
February 2016
- Version 1.0.0 released: First stable release passing tests.
- Version 0.1.2 released: On the way to functionality.
- Version 0.1.1 released: Syntax error resolved.
- Version 0.1.0 released: Absolutely and completely untested! :)
Inspiration was @danieltwager's ISO7064 Java Library and the pressing need to auto-detect checksum algorithms for php-iban. Annoyingly, there didn't seem to be any way to define normal functions dynamically in PHP, so I had to settle for code generation instead of a reflective implementation.