PHPackages                             shaheryarmahmod/luhnalgorithm - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. shaheryarmahmod/luhnalgorithm

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

shaheryarmahmod/luhnalgorithm
=============================

Luhn Algorithm Implementation to validate Debit &amp; Credit Cards and IMEI numbers.

v1.0(5y ago)08Unlicense

Since Aug 30Compare

[ Source](https://github.com/ShaheryarMahmod/LuhnAlgorithm)[ Packagist](https://packagist.org/packages/shaheryarmahmod/luhnalgorithm)[ RSS](/packages/shaheryarmahmod-luhnalgorithm/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/ShaheryarMahmod/LuhnAlgorithm).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2078d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10175047?v=4)[Shaheryar Mahmood](/maintainers/shaheryarmahmod)[@ShaheryarMahmod](https://github.com/ShaheryarMahmod)

---

Tags

phpcredit-cardluhndebit cardimeiluhn-algorithm

### Embed Badge

![Health badge](/badges/shaheryarmahmod-luhnalgorithm/health.svg)

```
[![Health](https://phpackages.com/badges/shaheryarmahmod-luhnalgorithm/health.svg)](https://phpackages.com/packages/shaheryarmahmod-luhnalgorithm)
```

###  Alternatives

[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)
