PHPackages                             samlittler/luhn-mod-16 - 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. samlittler/luhn-mod-16

ActiveLibrary

samlittler/luhn-mod-16
======================

A PHP library for calculating Luhn Mod 16 checksums as used by Royal Mail and others

v2.0.0(3y ago)2290proprietaryPHP ^8

Since Sep 1Compare

[ Source](https://github.com/samlittler/luhn-mod-16)[ Packagist](https://packagist.org/packages/samlittler/luhn-mod-16)[ Docs](https://github.com/sammakescode/luhn-mod-16)[ RSS](/packages/samlittler-luhn-mod-16/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/samlittler/luhn-mod-16).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity68

Established project with proven stability

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 ~348 days

Recently: every ~504 days

Total

7

Last Release

1447d ago

Major Versions

v0.1.0 → v1.0.02016-11-17

v1.0.4 → v2.0.02022-05-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/96775b72e83f533028dc82c8f24df717f837f8b3ba00b6f25e305179ef627c3b?d=identicon)[SamMakesCode](/maintainers/SamMakesCode)

---

Tags

luhnchecksumMod

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/samlittler-luhn-mod-16/health.svg)

```
[![Health](https://phpackages.com/badges/samlittler-luhn-mod-16/health.svg)](https://phpackages.com/packages/samlittler-luhn-mod-16)
```

###  Alternatives

[intervention/validation

Additional validation rules for the Laravel framework

6826.7M8](/packages/intervention-validation)[marvinlabs/laravel-luhn

Luhn algorithm for Laravel

108409.7k](/packages/marvinlabs-laravel-luhn)[nekman/luhn-algorithm

Implementation of the Luhn algorithm in PHP. Used in validation of credit card numbers and some national identification numbers.

22819.4k](/packages/nekman-luhn-algorithm)[paytm/paytmchecksum

This is for paytm checksum creation and verification in PHP

13466.9k3](/packages/paytm-paytmchecksum)[pburggraf/crc

Cyclic redundancy checker (crc) class to calculate crc8, crc16, crc24 and crc32 checksum values

18207.4k3](/packages/pburggraf-crc)[dragon-code/card-number

Generation and verification of card numbers using Luhn's algorithm.

6512.8k](/packages/dragon-code-card-number)

PHPackages © 2026

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