PHP Classes

CCValidator: Validate credit card numbers

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
StarStarStarStar 74%Total: 4,129 All time: 741 This week: 30Up
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
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files (3)  
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

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:4,129
This week:0
All time:741
This week:30Up
 User Ratings  
 
 All time
Utility:92%StarStarStarStarStar
Consistency:96%StarStarStarStarStar
Documentation:92%StarStarStarStarStar
Examples:96%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:85