Login   Register  
PHP Classes
elePHPant
Icontem

PHP Luhn Algorithm: Calculate and validate a Luhn check digit

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Rolands Kusins
Name: Rolands Kusins <contact>
Classes: 2 packages by
Country: Latvia Latvia
Age: 27
All time rank: 30738 in Latvia Latvia
Week rank: 1862 Up3 in Latvia Latvia Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can calculate and validate with the Luhn check digit.

It can take a given number and calculate the check digit using the Luhn (modulus 10) algorith.

The class can also verify if a number is valid by calculating the Luhn check digit and comparing it with the last digit of the number.

  Classes of Rolands Kusins  >  PHP Luhn Algorithm  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Luhn Algorithm
Base name: luhn-algorithm
Description: Calculate and validate a Luhn check digit
Version: 0.2
PHP version: 5
License: GNU General Public License (GPL)
All time users: 193 users
All time rank: 7216
Week users: 0 users
Week rank: 1433 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file Luhn.php Class Luhn check digit calculation class
Accessible without login Plain text file speed_test.php Example Speed test example

Install with Composer Install with Composer - Download Download all files: luhn-algorithm.tar.gz luhn-algorithm.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.