Skip to content

cv65kr/verhoeff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 2, 2018
4c05de0 · Mar 2, 2018

History

4 Commits
Mar 2, 2018
Mar 2, 2018
Mar 2, 2018
Mar 2, 2018
Mar 2, 2018
Mar 2, 2018
Mar 2, 2018
Mar 2, 2018
Mar 2, 2018

Repository files navigation

The Verhoeff Checksum Algorithm

PHP implementation of the Verhoeff algorithm based on https://en.wikipedia.org/wiki/Verhoeff_algorithm.

Example

$test = new \Kajti\Verhoeff\Verhoeff('123c');

echo 'Validation';
var_dump($test->validate());

echo 'Correct number';
var_dump($test->getDigit());

About

PHP implementation of the Verhoeff algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages