PHP Classes

credit card validation: 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
StarStarStar 58%Total: 3,074 All time: 1,180 This week: 50Up
Version License Categories
creditcardvalidation 1.0.0FreewareValidation
Description 

Author

This is a simple class for validating credit card numbers.

It can perform MOD10 card number validation and also determine the credit card type based on the knowledge of the association the type to the combination of the card digits.

It supports validating cards by the following types: mastercard, discover, amex, diners, bankcard, jcb, enroute and switch.

Picture of Harish Chauhan
Name: Harish Chauhan is available for providing paid consulting. Contact Harish Chauhan .
Classes: 28 packages by
Country: India India
Age: ???
All time rank: 32 in India India
Week rank: 181 Down14 in India India Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file cctest.php Example example
Plain text file creditcard.inc.php Class main class

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 Reuses Unique User Downloads Download Rankings  
 0%1
Total:3,074
This week:0
All time:1,180
This week:50Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1376