Skip to content

cv65kr/verhoeff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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