PHPackages                             stgit90/detect-valid-card - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. stgit90/detect-valid-card

ActiveLibrary

stgit90/detect-valid-card
=========================

Utility to valid and determine bank card type by stgit90

1.1.2(2y ago)023MITPHPPHP &gt;=7.2.5

Since Jun 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tigran90/detect-valid-cards)[ Packagist](https://packagist.org/packages/stgit90/detect-valid-card)[ RSS](/packages/stgit90-detect-valid-card/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Valid and Dedect bank cards
===========================

[](#valid-and-dedect-bank-cards)

Utility to valid and determine bank card type by stgit90

### Installation

[](#installation)

```
composer require stgit90/detect-valid-card

```

### Usage

[](#usage)

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

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

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~360 days

Total

5

Last Release

735d ago

PHP version history (2 changes)1.0.1PHP ^7.2.5

1.1.2PHP &gt;=7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/b495fa4dc855dae28f5d671627305305b240b7ebcfd43716c117ad20f4ed223a?d=identicon)[tigran.sargsyan](/maintainers/tigran.sargsyan)

---

Top Contributors

[![tigran90](https://avatars.githubusercontent.com/u/82959227?v=4)](https://github.com/tigran90 "tigran90 (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stgit90-detect-valid-card/health.svg)

```
[![Health](https://phpackages.com/badges/stgit90-detect-valid-card/health.svg)](https://phpackages.com/packages/stgit90-detect-valid-card)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
