PHP Classes

CCValidator: Validate credit card numbers

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 74%Total: 4,117 This week: 2All time: 744 This week: 135Up
Version License Categories
ccvalidator 1.0.0GNU General Publi...E-Commerce, Validation
Description 

Author

This class can be used to validate credit card numbers.

It checks the integrity of the number by using the mod 10 algorithm.

The class can also check a credit card number of a given card type by looking at the number prefix. Currently it can check whether the card type is: VISA, Mastercard, American Express, Diners Club, Discover or JCB.

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 22 packages by
Country: United States United States
Age: 44
All time rank: 61 in United States United States
Week rank: 73 Down6 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Plain text file ccvalidator.class.php Class Source code
Accessible without login HTML file ccvalidator.html Doc. Help
Accessible without login Plain text file example.php Example Sample

 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,117
This week:2
All time:744
This week:135Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:91%StarStarStarStarStar
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:177