PHPackages                             hedeqiang/bank-card-info - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hedeqiang/bank-card-info

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hedeqiang/bank-card-info
========================

Package description here.

v1.0.0(4y ago)492MITPHP

Since Aug 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hedeqiang/bank-card-info)[ Packagist](https://packagist.org/packages/hedeqiang/bank-card-info)[ RSS](/packages/hedeqiang-bank-card-info/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

 bank-card-info
================

[](#-bank-card-info-)

 银行卡信息获取、验证

[![StyleCI build status](https://camo.githubusercontent.com/5414ebe337a06d50f02ef64d044c4aa0ea92149b177848681daa9caad8818ef2/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3230323036313138362f736869656c64)](https://camo.githubusercontent.com/5414ebe337a06d50f02ef64d044c4aa0ea92149b177848681daa9caad8818ef2/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3230323036313138362f736869656c64) [![FOSSA Status](https://camo.githubusercontent.com/ab95d5655a930f1a9dc9abd8c0c338798aa53619e03d90a940297d0f6f994b76/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246686564657169616e6725324662616e6b2d636172642d696e666f2e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhedeqiang%2Fbank-card-info?ref=badge_shield)

Installing
----------

[](#installing)

```
$ composer require hedeqiang/bank-card-info -vvv
```

Usage
-----

[](#usage)

```
getInfo('6212260200142520000');
var_dump($response);
```

返回示例

```
{
    "validated": true,
    "bank": "ICBC",
    "bankName": "中国工商银行",
    "bankImg": "https://apimg.alipay.com/combo.png?d=cashier&t=ICBC",
    "cardType": "DC",
    "cardTypeName": "储蓄卡"
}
```

在 Laravel 中使用
-------------

[](#在-laravel-中使用)

可以用两种方式来获取 `Hedeqiang\BankCardInfo\BankCard` 实例：

### 方法参数注入

[](#方法参数注入)

```
getInfo('62122602001000000');
    }
}
```

### 服务名访问

[](#服务名访问)

```
getInfo('62122602001000000');
    }
}
```

TODO

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/hedeqiang/bank-card-info/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/hedeqiang/bank-card-info/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

参考
--

[](#参考)

- [zhuzhichao/bank-card-info](https://github.com/zhuzhichao/bank-card-info)

License
-------

[](#license)

MIT

[![FOSSA Status](https://camo.githubusercontent.com/508cbd05436e162ad02ee06ee832026d6b9674635b7730dc1efe6bbedf033ddf/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246686564657169616e6725324662616e6b2d636172642d696e666f2e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhedeqiang%2Fbank-card-info?ref=badge_large)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~334 days

Total

4

Last Release

1462d ago

Major Versions

0.0.3 → v1.0.02022-05-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ac33cc87fe5ba7f0b8791f5b3453501e83b55ec9a5a209728817ff119635a72?d=identicon)[hedeqiang](/maintainers/hedeqiang)

---

Top Contributors

[![hedeqiang](https://avatars.githubusercontent.com/u/31909061?v=4)](https://github.com/hedeqiang "hedeqiang (9 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

### Embed Badge

![Health badge](/badges/hedeqiang-bank-card-info/health.svg)

```
[![Health](https://phpackages.com/badges/hedeqiang-bank-card-info/health.svg)](https://phpackages.com/packages/hedeqiang-bank-card-info)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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