The lib-bankaccount offers the possiblity to verify and convert german bank accounts to iban and back.
- Download sources to your webserver
- Install dependencies using composer
- Create a configuration.php
$accountNo = "402532800";
$blz = "49092650";
$account = new Account();
$account->setAccountNo($accountNo);
$account->setBlz($blz);
// Get IBAN and BIC for bank account
$account->getIban();
$account->getBic();
// Validate the input data
$account->validateAccountNo();
$account->validateBlz();
Additional usage examples are supplied in tests/accountTest.php.
- Make available via packagist
- Check if configuration.php is usable, if used as a third party library: Maybe the configuration should not be in the autoload of the library but the using application
- On windows handling with files there is a unlink()-error