rodgermd / ibanapide-bundle
iban-api.de integration
Installs: 268
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- ext-soap: *
This package is not auto-updated.
Last update: 2024-12-21 16:51:38 UTC
README
Integration of http://www.iban-api.de/soap-service/
Add Controller for ajax actions
Add to routing.yml:
rodgermd_iban_controller:
resource: "@RodgermdIbanApiDeBundle/Controller/"
type: annotation
prefix: /iban
Usage
Get service:
$api = $container->get('rodgermd.iban.api');
Get IBAN code
Throws IbanApiErrorException on error
$iban = $api->generateIBAN($countryCode, $bankIdentification, $accountNr);
Validate IBAN code
$valid = $api->validateIban($iban);
Get BIC code from IBAN
Throws IbanApiErrorException on error
$bic = $api->getBicFromIban($iban);