Open emresaracoglu opened 6 years ago
What have you done to on your end? How did you try implementing script?
$card = new \Inacho\CreditCard;
$card = CreditCard::validCreditCard('5500005555555559', 'mastercard');
print_r($card);
You can try $card = \Inacho\CreditCard::validCreditCard('5500005555555559');
Hello,
I can getting this error:
Fatal error: Uncaught Error: Class 'CreditCard' not found in ..
I added with Composer but how I can Import your class in php file?