credit_card_validate library

Classes

CreditCardValidator
The credit card number validation logic class This package uses the Luhn Algorithm (look it up, it's really cool) This validator supports the following credit cards: Visa - starting with 4 Master Card - starting with 5 American Express - starting with 37 Discover - starting with 6