PHPackages                             globalcitizen/php-iso7064 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. globalcitizen/php-iso7064

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

globalcitizen/php-iso7064
=========================

php-iban is a library implementing the pure ISO/IEC 7064 checksum functions.

v1.0.1(5y ago)324.7k5[3 issues](https://github.com/globalcitizen/php-iso7064/issues)LGPL-3.0PHP

Since Feb 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/globalcitizen/php-iso7064)[ Packagist](https://packagist.org/packages/globalcitizen/php-iso7064)[ RSS](/packages/globalcitizen-php-iso7064/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

php-iso7064
===========

[](#php-iso7064)

This is a reference implementation of the various 'pure' ISO7064 algorithms in PHP. It is 100% generated code, from [algorithm metadata](https://github.com/globalcitizen/php-iso7064/blob/master/utils/algorithms.txt). Note that the 'hybrid' algorithms are not implemented.

[![Build Status](https://camo.githubusercontent.com/b075afb2f1f78c93b5db10f0f3494b9fa408dba9a79bec6520e849b998758922/68747470733a2f2f7472617669732d63692e6f72672f676c6f62616c636974697a656e2f7068702d69736f373036342e706e67)](https://travis-ci.org/globalcitizen/php-iso7064)[![Latest Stable Version](https://camo.githubusercontent.com/0ba3e694981893f8ce44557dc233512bec8a6b38f3831d7e3b66a6fc9e102c2e/68747470733a2f2f706f7365722e707567782e6f72672f676c6f62616c636974697a656e2f7068702d69736f373036342f762f737461626c65)](https://packagist.org/packages/globalcitizen/php-iso7064)[![License](https://camo.githubusercontent.com/54b586246de0a81785c8779082300b1c020b65b79879cda6a559b9561e4cda84/68747470733a2f2f706f7365722e707567782e6f72672f676c6f62616c636974697a656e2f7068702d69736f373036342f6c6963656e7365)](https://packagist.org/packages/globalcitizen/php-iso7064)

Algorithms implemented
----------------------

[](#algorithms-implemented)

AlgorithmFunction nameInputOutputISO/IEC 7064, MOD 11-2`iso7064_mod11_2()`Numeric1 x AlphanumericISO/IEC 7064, MOD 37-2`iso7064_mod37_2()`Alphanumeric1 x AlphanumericISO/IEC 7064, MOD 97-10`iso7064_mod97_10()`Numeric2 x NumericISO/IEC 7064, MOD 661-26`iso7064_mod661_26()`Alphabetic2 x AlphabeticISO/IEC 7064, MOD 1271-36`iso7064_mod1271_36()`Alphanumeric2 x AlphanumericHistory
-------

[](#history)

**August 2020**

- **[Version 1.0.1](https://github.com/globalcitizen/php-iban/releases/tag/v1.0.1) released**: Various edge case fixes by [neo954](https://github.com/neo954). Thanks!

**February 2016**

- **[Version 1.0.0](https://github.com/globalcitizen/php-iban/releases/tag/v1.0.0) released**: First stable release passing tests.
- **[Version 0.1.2](https://github.com/globalcitizen/php-iban/releases/tag/v0.1.2) released**: On the way to functionality.
- **[Version 0.1.1](https://github.com/globalcitizen/php-iban/releases/tag/v0.1.1) released**: Syntax error resolved.
- **[Version 0.1.0](https://github.com/globalcitizen/php-iban/releases/tag/v0.1.0) released**: Absolutely and completely untested! :)

Inspiration was [@danieltwager](https://github.com/danieltwagner/)'s [ISO7064 Java Library](https://github.com/danieltwagner/iso7064/) and the pressing need to auto-detect checksum algorithms for [php-iban](https://github.com/globalcitizen/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](https://en.wikipedia.org/wiki/Automatic_programming#Source_code_generation) instead of a [reflective](https://en.wikipedia.org/wiki/Reflection_%28computer_programming%29) implementation.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~408 days

Total

5

Last Release

2146d ago

Major Versions

v0.1.2 → v1.0.02016-02-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea8c7bc5642a2ccad3df704a632e859fec6f6e979f027930eab9fe745323cf16?d=identicon)[globalcitizen](/maintainers/globalcitizen)

---

Top Contributors

[![globalcitizen](https://avatars.githubusercontent.com/u/505366?v=4)](https://github.com/globalcitizen "globalcitizen (4 commits)")[![neo954](https://avatars.githubusercontent.com/u/12424088?v=4)](https://github.com/neo954 "neo954 (4 commits)")

### Embed Badge

![Health badge](/badges/globalcitizen-php-iso7064/health.svg)

```
[![Health](https://phpackages.com/badges/globalcitizen-php-iso7064/health.svg)](https://phpackages.com/packages/globalcitizen-php-iso7064)
```

###  Alternatives

[pfinal/excel

excel

903.4k](/packages/pfinal-excel)[ramsey/devtools-lib

The library behind ramsey/devtools, allowing for extension of the ramsey/devtools Composer plugin.

2334.7k2](/packages/ramsey-devtools-lib)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
