tajawal/credit-card

Credit card generator

This package's canonical repository appears to be gone and the package has been frozen as a result.

1.0.0 2016-07-24 08:40 UTC

This package is not auto-updated.

Last update: 2020-08-07 20:29:34 UTC


README

##Credit card generator

###Installation

Require the package in composer.json

"require": {
    "tajawal/credit-card": "dev-master"
},

##How to use


<?php
use Tajawal\CreditCard\CreditCard;

$types = CreditCard::getTypes();
foreach ($types as $type) {
    echo 'Type:' . $type . ' Number:' . CreditCard::Generate($type);
    echo PHP_EOL;
}