php-credit-card-validator icon indicating copy to clipboard operation
php-credit-card-validator copied to clipboard

Validates popular debit and credit cards numbers against regular expressions and Luhn algorithm. Also validates the CVC and the expiration date.

Results 24 php-credit-card-validator issues
Sort by recently updated
recently updated
newest added

add phpDoc for public functions

String constants introduced for code completion and less error-prone code

I need validate "Hipercard" and "ELO" creditcards

Remove Hiper BIN from Hipercard pattern

19 digit credit cards are being issued. Discover Card‎: ‎16 or 19 China UnionPay‎: ‎16 - 19 Visa‎: ‎16, 18 or 19 Maestro‎: ‎16 - 19

Hello, I can getting this error: `Fatal error: Uncaught Error: Class 'CreditCard' not found in ..` I added with Composer but how I can Import your class in php file?

The check for MasterCard is incorrect. The new BIN range for MasterCard that is valid since October 2016 is 2221-2720 and not 22-27.

Add Verve Credit Card for validation.

Added support to validate the hipercard card.