Download the PHP package annaghd/php-credit-card-validator-plus without Composer
On this page you can find all versions of the php package annaghd/php-credit-card-validator-plus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download annaghd/php-credit-card-validator-plus
More information about annaghd/php-credit-card-validator-plus
Files in annaghd/php-credit-card-validator-plus
Download annaghd/php-credit-card-validator-plus
More information about annaghd/php-credit-card-validator-plus
Files in annaghd/php-credit-card-validator-plus
Vendor annaghd
Package php-credit-card-validator-plus
Short Description Validates popular debit and credit cards numbers against regular expressions and Luhn algorithm. Also validates the CVC and the expiration date
License MIT
Package php-credit-card-validator-plus
Short Description Validates popular debit and credit cards numbers against regular expressions and Luhn algorithm. Also validates the CVC and the expiration date
License MIT
Please rate this library. Is it a good library?
Informations about the package php-credit-card-validator-plus
PHP Credit Card Validator
Validates popular debit and credit cards numbers against regular expressions and Luhn algorithm. Also validates the CVC and the expiration date.
Installation
Require the package in composer.json
If you are using Laravel, add an alias in config/app.php
Usage
Validate a card number knowing the type:
Output:
Validate a card number and return the type:
Output:
Validate the CVC
Output:
Validate the expiration date
Output:
Tests
Execute the following command to run the unit tests:
vendor/bin/phpunit
All versions of php-credit-card-validator-plus with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
lib-pcre Version >=7.3
lib-pcre Version >=7.3
The package annaghd/php-credit-card-validator-plus contains the following files
Loading the files please wait ....