stgit90 / detect-valid-card
Utility to valid and determine bank card type by stgit90
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/stgit90/detect-valid-card
Requires
- php: >=7.2.5
Requires (Dev)
- phpunit/phpunit: ^9.1
This package is not auto-updated.
Last update: 2025-11-02 01:04:46 UTC
README
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
}