Detect Credit Card Types
Utility to determine credit card type by PAN
Installation
composer require mcred/detect-credit-card-type
Usage
require "PATH_TO/vendor/autoload.php";
$detector = new CardDetect\Detector();
$card = '4111111111111111';
echo $detector->detect($card); //Visa