Home » Validate » Validate_Finance_CreditCard
Validation class for Credit Cards
Download latest release 0.7.0 (there might be newer Composer installable version)
License: New BSD
Description
Package to validate Credit Card numbers and types.
Maintainers
- Philippe Jausions (jausions) — lead, active
Dependencies
Required
- PHP (>= 5.2.1)
- PEAR Installer (>= 1.4.0b1)
- pcre (extension)
Releases
- 0.7.0 (alpha, 2021-05-19)
Release notes
License: New BSD
- Recognise new MasterCard 2-series BIN numbers
- Update travis-ci configuration - 0.6.0 (alpha, 2016-01-28)
Release notes
License: New BSD
- Update to use PHP 5 method syntax. Allows use in PHP 7 environments.
- 0.5.3 (alpha, 2008-09-01)
- 0.5.2 (alpha, 2005-11-04)
Release notes
License: New BSD
- Switch to the new BSD License
(see http://www.opensource.org/licenses/bsd-license.php) - 0.5.1 (alpha, 2005-07-20)
Release notes
License: New BSD
- Added support for Eurocard/Mastercard. Can be referenced by "EuroCard" or "EuroCard/MasterCard" (case-insensitive)
- 0.5.0 (alpha, 2005-05-20)
Release notes
License: New BSD
- Split from Validate into independent package
- BC break: creditCard() method now named number() and creditCardType() method is now named type()
- Request #2194 Improved CreditCard validation with CreditCard Type check, patch by Philippe
- Added a cvv() method to check card verification value (aka CVV2, CVC, CID, CSC, CIN)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #7273 | No Feedback | Bug | 0.5.2 | 2006-03-31 | Parameter order for CreditCard::type function signature needx reversing |
| #16725 | Open | Req | 0.5.3 | 2009-10-22 | 13 digit visa numbers are all invalid |
| #16726 | Open | Req | 0.5.3 | 2009-10-22 | Diners Club enRoute should not validate by default |
| #17649 | Feedback | Req | 2010-08-02 | Platforms, etc... | |
| #21044 | Open | Bug | Unknown | 2016-03-22 | New Mastercard BIN |