PHPackages                             zhuravel/php-luhn-checksum - 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. zhuravel/php-luhn-checksum

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

zhuravel/php-luhn-checksum
==========================

0.0.1(7y ago)2171[1 PRs](https://github.com/zhooravell/php-luhn-checksum/pulls)MITPHP

Since Aug 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zhooravell/php-luhn-checksum)[ Packagist](https://packagist.org/packages/zhuravel/php-luhn-checksum)[ RSS](/packages/zhuravel-php-luhn-checksum/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHP Luhn algorithm function
===========================

[](#php-luhn-algorithm-function)

> A PHP function providing simple checksum formula used to validate a variety of identification numbers .

[![Build Status](https://camo.githubusercontent.com/6d0eebadf46108517415134298481236e4a42f2842b9bfb45d9aef1507307034/68747470733a2f2f7472617669732d63692e636f6d2f7a686f6f726176656c6c2f7068702d6c75686e2d636865636b73756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/zhooravell/php-luhn-checksum)

Installing
----------

[](#installing)

```
$ composer require zhuravel/php-luhn-checksum
```

Example
-------

[](#example)

```
