https://github.com/aochoae/checkdigit-algorithms-php
Damm, Luhn and Verhoeff algorithms
https://github.com/aochoae/checkdigit-algorithms-php
checkdigit damm-algorithm luhn-algorithm verhoeff-algorithm
Last synced: 4 months ago
JSON representation
Damm, Luhn and Verhoeff algorithms
- Host: GitHub
- URL: https://github.com/aochoae/checkdigit-algorithms-php
- Owner: aochoae
- License: mit
- Created: 2021-05-14T04:54:43.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T05:16:21.000Z (over 1 year ago)
- Last Synced: 2025-11-27T15:24:30.474Z (5 months ago)
- Topics: checkdigit, damm-algorithm, luhn-algorithm, verhoeff-algorithm
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Check digit algorithms
[](https://dl.circleci.com/status-badge/redirect/circleci/P8zYxsfE41FNrt2ohcdfya/KqeiFzsrrrSf2xZxQh6gvs/tree/main)
Algorithms:
* Damm algorithm
* Luhn algorithm
* Verhoeff algorithm
## Requirements
* PHP version 5.6 or greater
## Install
composer require luisalberto/checkdigit-algorithms
## Usage
isValid("48721484");
## License
Copyright 2021, 2024 Luis A. Ochoa
See [LICENSE](LICENSE) for the full license text.