pear/validate_finance_creditcard

Validation class for credit cards.

0.6.0 2016-01-28 20:34 UTC

README

Validation class for credit cards. Validates card numbers according to the Luhn algorithm and according to card type. Also validates CVV/CID/CSC numbers according to card type.

Supported card types are:

  • MasterCard
  • Visa
  • American Express
  • Diners Club
  • Carte Blanche
  • Discover
  • JCB
  • EnRoute
  • Eurocard