Download the PHP package jacek-9999/credit-card-generator without Composer
On this page you can find all versions of the php package jacek-9999/credit-card-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jacek-9999/credit-card-generator
More information about jacek-9999/credit-card-generator
Files in jacek-9999/credit-card-generator
Package credit-card-generator
Short Description Generating valid credit card numbers
License MIT
Homepage https://github.com/jacek-9999/creditCardGenerator
Informations about the package credit-card-generator
creditCardGenerator
This class uses Luhn algoritm for generating valid credit cards number.
https://en.wikipedia.org/wiki/Luhn_algorithm
You can choose bin and this class will find correct numbers and return it in the array.
https://en.wikipedia.org/wiki/Bank_card_number
Package is available by composer:
composer require jacek-9999/credit-card-generator
Usage example's:
1)
https://gist.github.com/jacek-9999/64c319344ab8d9e50ea2
2)
require('creditCardGenerator.php');
$genCC = new creditCardGenerator();
$genCC->setBin(123);
$output = $genCC->getCC();
print_r($output);