Validation class for credit cards.

0.6.0 2016-01-28 20:34 UTC

This package is auto-updated.

Last update: 2021-02-08 23:07:21 UTC


Build Status


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