crease29 / openiban-client
PHP client for openiban.com API
Installs: 9 745
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-11-10 00:54:04 UTC
README
OpenIBAN.com PHP Client
If you have any questions, drop me an email: info@webchimp.de
Feel free to contribute! :)
Thanks to @fourcube for providing a simple IBAN API!
Install via Composer
composer install crease29/openiban-client
Usage
openiban.com documentation: https://openiban.com/
Technical validation of IBAN numbers
require 'vendor/autoload.php';
use OpenIban\Client;
$client = new Client();
$IBAN = 'DE89370400440532013000';
$check1 = $client->validate($IBAN); // $validateBankCode = false, $getBIC = false
$check2 = $client->validate($IBAN, true); // $validateBankCode = true, $getBIC = false
$check3 = $client->validate($IBAN, true, true); // $validateBankCode = true, $getBIC = true
Calculation of IBAN numbers
require 'vendor/autoload.php';
use OpenIban\Client;
$client = new Client();
$IBANData = $client->calculate('DE', '37040044', '0532013000');
Licence
This project uses the GNU General Public License v3.0.