betalabs/credit-card-type

Script to validate and get credit card type by number

0.1.1 2018-08-02 16:32 UTC

This package is auto-updated.

Last update: 2024-12-13 00:31:59 UTC


README

Validate and get credit card type by Number

Installation

Via Composer

composer require 'betalabs/credit-card-type'

Usage

require __DIR__  . '/vendor/autoload.php';

$card = '4111111111111111';

echo CreditCardType\CreditCardType::get($card); //visa