reyesoft / bank-accounts
PHP Bank Accounts validator, info and more...
Installs: 10 017
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 6
Forks: 2
Open Issues: 0
Requires
- php: >=7.4
Requires (Dev)
- codedungeon/phpunit-result-printer: 0.28.0
- phpunit/phpunit: 9.5.4
- reyesoft/ci: *
- v1.1.x-dev
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- v1.0.x-dev
- 1.0.0
- dev-fix/validator-bol
- dev-SAL-1088-account-bank-names-bol
- dev-SAL-622-accounts-validator-cop
- dev-BE-162-php-bank-account-descomentar-comp
- dev-HOTFIX/account_number_via_clabe
- dev-BE-157-add-github-actions
- dev-fix/mex_checksum
- dev-BE-155-agregar-col-bank-account
- dev-improvement/composer-test
- dev-improvement/readme
- dev-feature/ar_bank_name
This package is auto-updated.
Last update: 2024-09-25 11:59:29 UTC
README
Installation
Vía Composer
composer require reyesoft/bank-account
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
Based on ISO alpha 2 characters.
- Argentina (AR)
- México (MX)
- Venezuela (VE)
- Colombia (CO)
Development
./vendor/bin/phpunit tests/