PHPackages                             luisalberto/checkdigit-algorithms - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. luisalberto/checkdigit-algorithms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

luisalberto/checkdigit-algorithms
=================================

Check Digit Algorithms

1.0.1(1y ago)04.7k↓50%MITPHPPHP &gt;=5.6

Since Oct 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/aochoae/checkdigit-algorithms-php)[ Packagist](https://packagist.org/packages/luisalberto/checkdigit-algorithms)[ Docs](https://github.com/aochoae/checkdigit-algorithms-php)[ RSS](/packages/luisalberto-checkdigit-algorithms/feed)WikiDiscussions main Synced 1mo ago

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

Check digit algorithms
======================

[](#check-digit-algorithms)

[![CircleCI](https://camo.githubusercontent.com/3b9d18ca330a260672d7a99ebe7616d2f830ce9426e7b10e4fcaad53ebfeb46b/68747470733a2f2f646c2e636972636c6563692e636f6d2f7374617475732d62616467652f696d672f636972636c6563692f50387a59787366453431464e7274326f6863646679612f4b716569467a73727272536632785a785168366776732f747265652f6d61696e2e7376673f7374796c653d737667)](https://dl.circleci.com/status-badge/redirect/circleci/P8zYxsfE41FNrt2ohcdfya/KqeiFzsrrrSf2xZxQh6gvs/tree/main)

Algorithms:

- Damm algorithm
- Luhn algorithm
- Verhoeff algorithm

Requirements
------------

[](#requirements)

- PHP version 5.6 or greater

Install
-------

[](#install)

```
composer require luisalberto/checkdigit-algorithms

```

Usage
-----

[](#usage)

```
