Download the PHP package coatesap/credit-card-validator without Composer
On this page you can find all versions of the php package coatesap/credit-card-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download coatesap/credit-card-validator
More information about coatesap/credit-card-validator
Files in coatesap/credit-card-validator
Download coatesap/credit-card-validator
More information about coatesap/credit-card-validator
Files in coatesap/credit-card-validator
Vendor coatesap
Package credit-card-validator
Short Description A simple PHP class for validating credit/debit card details
License MIT
Homepage https://github.com/coatesap/credit-card-validator
Package credit-card-validator
Short Description A simple PHP class for validating credit/debit card details
License MIT
Homepage https://github.com/coatesap/credit-card-validator
Please rate this library. Is it a good library?
Informations about the package credit-card-validator
Credit Card Validator
A simple PHP class for preparing and validating credit/debit card details. Typically this takes place before they are passed to a payment gateway for processing.
Example Usage
Installation
The credit card class can be installed via Composer. To install, simply add it
to your composer.json
file:
Data preparation
This class does some simple preparation of your card data. This includes removing non-numeric characters, including spaces, from:
- The card number
- The CVC/CV2 value
- The card expiry date
Validation Checks
This class also checks:
- That the card hasn't expired
- A valid CVC/CV2 security code has been supplied
- The card number passes the Luhn check
All versions of credit-card-validator with dependencies
PHP Build Version
Package Version
No informations.
The package coatesap/credit-card-validator contains the following files
Loading the files please wait ....