https://github.com/pear/validate_finance_creditcard
Validation class for credit cards.
https://github.com/pear/validate_finance_creditcard
Last synced: over 1 year ago
JSON representation
Validation class for credit cards.
- Host: GitHub
- URL: https://github.com/pear/validate_finance_creditcard
- Owner: pear
- License: other
- Created: 2013-04-02T18:27:26.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-10-16T09:47:47.000Z (almost 4 years ago)
- Last Synced: 2025-03-24T04:02:22.927Z (over 1 year ago)
- Language: PHP
- Homepage: http://pear.php.net/package/Validate_Finance_CreditCard/
- Size: 1.49 MB
- Stars: 8
- Watchers: 17
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/pear/Validate_Finance_CreditCard)
Validate_Finance_CreditCard
===========================
Validation class for credit cards. Validates card numbers according to the [Luhn algorithm](http://en.wikipedia.org/wiki/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