PHP Classes

Checknum Class: Calculate verification numbers using Luhn mod10

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 502 All time: 5,808 This week: 31Up
Version License PHP version Categories
checknum 1.0GNU General Publi...3.0Validation
Description 

Author

This class can calculate verification numbers using Luhn mod10 algorithm.

It can take a string of digits and calculate the verification digit according to Peter Luhn algorithm.

The class can also calculate what digit should be added before or after a sequence of digits to make the resulting number validate according to the Luhn algorithm.

Picture of Pierre FAUQUE
  Performance   Level  
Name: Pierre FAUQUE <contact>
Classes: 18 packages by
Country: France France
Innovation award
Innovation award
Nominee: 12x

Winner: 1x

  Files folder image Files (2)  
File Role Description
Plain text file checknum.php Class Class itself
Accessible without login Plain text file example.php Example example of use

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:502
This week:0
All time:5,808
This week:31Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1502