PHP IBAN Validation: Verify if a IBAN is valid with ibanapi.com API

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-09-08 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 58 This week: 2All time: 10,002 This week: 93Up
Version License PHP version Categories
ibanapi_php 1.0.0GNU General Publi...5PHP 5, Web services, Finances
Description Author

This package can verify if an IBAN is valid with ibanapi.com API.

It can send HTTP requests to the ibanapi.com Web server to perform operations related to bank accounts with a given IBAN identifier. Currently, it can:

- Perform full or basic IBAN identifier validation

- Get the balance of your ibanapi.com account

Innovation Award
PHP Programming Innovation award nominee
September 2021
Nominee
Vote
IBAN is a standard that defines the formats of bank account numbers of people or companies from anywhere in the world.

Many applications need to send payments to other people. When the application uses the IBAN standard to store the bank account identification of the people that will receive the payment, the IBANs must be correct. This way, the payments can reach the correct bank accounts.

This package provides a method to validate IBANs using an API.

Manuel Lemos
Picture of Samy Massoud
  Performance   Level  
Name: Samy Massoud <contact>
Classes: 5 packages by
Country: Egypt Egypt
Innovation award
Innovation award
Nominee: 2x

Details

? IBAN API validation using ibanapi.com for PHP

The official node package for validating IBAN using the ibanapi.com public API for PHP<br/> 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.<br/> or visit the iban api website

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file Api.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:58
This week:2
All time:10,002
This week:93Up
For more information send a message to info at phpclasses dot org.