Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: e163921226
Fetching contributors…

Cannot retrieve contributors at this time

95 lines (94 sloc) 3.401 kB
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.0" version="2.0" xmlns="" xmlns:tasks="" xmlns:xsi="" xsi:schemaLocation="">
<summary>Validation class for Credit Cards</summary>
<description>Package to validate Credit Card numbers and types.
<name>Philippe Jausions</name>
<license>New BSD</license>
- Switch to the new BSD License
<dir name="/">
<dir name="tests">
<file name="credit_card.phpt" role="test" />
</dir> <!-- /tests -->
<dir name="Validate">
<dir name="Finance">
<file name="CreditCard.php" role="php" />
</dir> <!-- /Validate/Finance -->
</dir> <!-- /Validate -->
<file name="LICENSE" role="doc" />
</dir> <!-- / -->
<phprelease />
<license>New BSD</license>
- Added support for Eurocard/Mastercard. Can be referenced by &quot;EuroCard&quot; or &quot;EuroCard/MasterCard&quot; (case-insensitive)
<license>New BSD</license>
- 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)
Jump to Line
Something went wrong with that request. Please try again.