PHPackages                             designbycode/luhn-algorithm - 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. designbycode/luhn-algorithm

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

designbycode/luhn-algorithm
===========================

The Luhn Algorithm is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, and others. This documentation provides an overview of the Luhn Algorithm implementation in PHP, including examples and use cases.

v1.0.1(1y ago)1328↓100%[1 PRs](https://github.com/designbycode/luhn-algorithm/pulls)1MITPHP ^8.1|^8.2|^8.3

Since Jun 19Compare

[ Source](https://github.com/designbycode/luhn-algorithm)[ Packagist](https://packagist.org/packages/designbycode/luhn-algorithm)[ Docs](https://github.com/designbycode/luhn-algorithm)[ GitHub Sponsors](https://github.com/designbycode)[ RSS](/packages/designbycode-luhn-algorithm/feed)WikiDiscussions Synced today

READMEChangelogDependencies (3)Versions (4)Used By (1)

### README not available

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

###  Health Score

31

—

LowBetter than 71% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity57

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

Every ~31 days

Total

2

Last Release

609d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65820d809cbae9f6fa2f5984f3c584e97b8fad0824590cf23e36cc8d85166cb2?d=identicon)[claudemyburgh](/maintainers/claudemyburgh)

---

Tags

designbycodeluhn-algorithm

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/designbycode-luhn-algorithm/health.svg)

```
[![Health](https://phpackages.com/badges/designbycode-luhn-algorithm/health.svg)](https://phpackages.com/packages/designbycode-luhn-algorithm)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k882.5M1.0k](/packages/webmozart-assert)[composer/semver

Version comparison library that offers utilities, version constraint parsing and validation.

3.3k479.5M567](/packages/composer-semver)[respect/validation

The most awesome validation engine ever created for PHP

5.9k36.6M349](/packages/respect-validation)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k34.5M83](/packages/propaganistas-laravel-phone)[laminas/laminas-escaper

Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs

21986.9M118](/packages/laminas-laminas-escaper)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.2M67](/packages/swaggest-json-schema)

PHPackages © 2026

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