Skip to content

tigran90/detect-valid-cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79da6f3 · May 13, 2024

History

17 Commits
May 13, 2024
Jun 4, 2020
Jun 4, 2020
Jun 4, 2020
Jun 4, 2020
May 13, 2024
Jun 4, 2020

Repository files navigation

Valid and Dedect bank cards

Utility to valid and determine bank card type by stgit90

Installation

composer require stgit90/detect-valid-card

Usage

require "/vendor/autoload.php";
use CardValidDetect\ValidDetect;

$detector = new ValidDetect();
$card = '4916847576752405';
if($detector->detect('4916847576752405')->isValid()){
    echo $detector->getType() //Visa
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages