PHPackages                             reyesoft/bank-accounts - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. reyesoft/bank-accounts

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

reyesoft/bank-accounts
======================

PHP Bank Accounts validator, info and more...

1.1.5(1y ago)715.2k↓22.7%2MITPHPPHP &gt;=7.4

Since May 23Pushed 1y ago5 watchersCompare

[ Source](https://github.com/reyesoft/php-bank-accounts)[ Packagist](https://packagist.org/packages/reyesoft/bank-accounts)[ Docs](https://github.com/pablorsk/php-bank-accounts)[ RSS](/packages/reyesoft-bank-accounts/feed)WikiDiscussions v1.1 Synced 2d ago

READMEChangelog (6)Dependencies (3)Versions (21)Used By (0)

Bank Accounts validator, names and more...
==========================================

[](#bank-accounts-validator-names-and-more)

Installation
------------

[](#installation)

Vía Composer

```
composer require reyesoft/bank-account
```

Example
-------

[](#example)

```
use BankAccounts\Ar\ArBankAccount;
use BankAccounts\Mx\MxBankAccount;

$mx_bank = new MxBankAccount('072580010312850172');
$mx_bank->isValid(); // true
echo $mx_bank->getBankName(); // Banorte
echo $mx_bank->testGetInternalBankAccountNumber(); // 1031285017
echo $mx_bank->getAccountTile(); // CLABE

echo (new ArBankAccount('pablorsk.mp'))
    ->getAccountTile(); // Alias
echo (new ArBankAccount('0720321188000033530000'))
    ->getAccountTile(); // CBU/CVU
```

Available countries
-------------------

[](#available-countries)

Based on [ISO alpha 2 characters](https://www.nationsonline.org/oneworld/country_code_list.htm).

- Argentina (AR)
- México (MX)
- Venezuela (VE)
- Colombia (CO)

Development
-----------

[](#development)

```
./vendor/bin/phpunit tests/
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance40

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~145 days

Recently: every ~257 days

Total

9

Last Release

709d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f446404fdcb4bf5659aedcaf810aab3702203c222874460874fa1138b879f9b0?d=identicon)[pablorsk](/maintainers/pablorsk)

---

Top Contributors

[![pablorsk](https://avatars.githubusercontent.com/u/938894?v=4)](https://github.com/pablorsk "pablorsk (9 commits)")[![OjedaNicolass](https://avatars.githubusercontent.com/u/85889594?v=4)](https://github.com/OjedaNicolass "OjedaNicolass (4 commits)")[![ahumadamatias](https://avatars.githubusercontent.com/u/49443249?v=4)](https://github.com/ahumadamatias "ahumadamatias (2 commits)")

---

Tags

bankscbuclabe

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/reyesoft-bank-accounts/health.svg)

```
[![Health](https://phpackages.com/badges/reyesoft-bank-accounts/health.svg)](https://phpackages.com/packages/reyesoft-bank-accounts)
```

###  Alternatives

[marcosh/php-validation-dsl

A DSL for validating data in a functional fashion

483.9k](/packages/marcosh-php-validation-dsl)

PHPackages © 2026

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