ibanapi/api
最新稳定版本:1.0.0
Composer 安装命令:
composer require ibanapi/api
包简介
The official php package for the ibanapi.com integration
README 文档
README
The official node package for validating IBAN using the ibanapi.com public API for PHP
This module offers methods to validate IBAN (full and basic validation) wherein full validation will return the bank information alongside the basic validations.
How to use
-
Get an API Key from the ibanapi.com website.
-
Install the package using the following command
composer require ibanapi/api -
You can now initialize & use the package as follows
-
For full iban validation
include "src/Api.php"; //Get all the IBAN Information $ibanApi = new IbanApi\Api("API_KEY"); $result = $ibanApi->validateIBAN("EE471000001020145685"); print_r(json_decode($result,true));
- For basic iban validation
include "src/Api.php"; //Get all the basic IBAN Information $ibanApi = new IbanApi\Api("API_KEY"); $result = $ibanApi->validateIBANBasic("EE471000001020145685"); print_r(json_decode($result,true));
- To get the balance
include "src/Api.php"; //Get the account balance $ibanApi = new IbanApi\Api("API_KEY"); $result = $ibanApi->getBalance(); print_r(json_decode($result,true));
Laravel
This package is PSR4 compitable, and you can load it in laravel easiy, just install the composer package as in the above examples, and use the code directly without the include line.
Issue or suggestion
Please feel free to open a bug report or pull request to this repo.
or visit the iban api website
统计信息
- 总下载量: 15.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-08