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,125 All time: 741 This week: 82Up
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: 307 Down34 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,125
This week:0
All time:741
This week:82Up
 User Ratings  
 
 All time
Utility:92%StarStarStarStarStar
Consistency:96%StarStarStarStarStar
Documentation:92%StarStarStarStarStar
Examples:96%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:83