Uncaught Error: Class
Opened this issue · 3 comments
emresaracoglu commented
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?
prezine commented
What have you done to on your end?
How did you try implementing script?
emresaracoglu commented
$card = new \Inacho\CreditCard;
$card = CreditCard::validCreditCard('5500005555555559', 'mastercard');
print_r($card);
ltrtuan commented
You can try $card = \Inacho\CreditCard::validCreditCard('5500005555555559');