PHPackages                             hipsterjazzbo/laravel-luhn-validator - 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. hipsterjazzbo/laravel-luhn-validator

ActiveLibrary

hipsterjazzbo/laravel-luhn-validator
====================================

A luhn algorithm validator for Laravel 4's Validator

1.0(11y ago)311.3k[1 issues](https://github.com/hipsterjazzbo/laravel-luhn-validator/issues)MITPHPPHP &gt;=5.4.0

Since Jun 26Pushed 11y agoCompare

[ Source](https://github.com/hipsterjazzbo/laravel-luhn-validator)[ Packagist](https://packagist.org/packages/hipsterjazzbo/laravel-luhn-validator)[ RSS](/packages/hipsterjazzbo-laravel-luhn-validator/feed)WikiDiscussions master Synced 2d ago

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

Laravel Luhn Validator
======================

[](#laravel-luhn-validator)

A [luhn algorithm](http://en.wikipedia.org/wiki/Luhn_algorithm) validator for Laravel 4's Validator.

Installation
------------

[](#installation)

Start by adding this package to your `composer.json`:

```
"require-dev": {
    "hipsterjazzbo/laravel-luhn-validator": "1.*"
}
```

Now you've got to update composer:

```
$ composer update
```

And then add this package to the `ServiceProviders` array in your `app/config/app.php`:

```
'HipsterJazzbo\LaravelLuhnValidator\LaravelLuhnValidatorServiceProvider'
```

Usage
-----

[](#usage)

Just specify the new rule when you're defining your rules:

```
$rules = [
    'card_number' => [
        'required',
        'luhn'
    ]
];
```

[Learn more about Laravel validation](http://laravel.com/docs/validation)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

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

4339d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f7f507b3da5a01b1cdb32f8185d5e45445135a835e807e170922ceba4b82fd9?d=identicon)[HipsterJazzbo](/maintainers/HipsterJazzbo)

### Embed Badge

![Health badge](/badges/hipsterjazzbo-laravel-luhn-validator/health.svg)

```
[![Health](https://phpackages.com/badges/hipsterjazzbo-laravel-luhn-validator/health.svg)](https://phpackages.com/packages/hipsterjazzbo-laravel-luhn-validator)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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