teraone / laravel-iban-to-bic
Installs: 1 570
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- ext-bcmath: *
- maatwebsite/excel: ^3.1
Requires (Dev)
- laravel/pint: ^1.8
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.5
README
Laravel IBAN to BIC Converter
Warning Currently only works with german IBANs
Installation
Install the package via Composer:
composer require teraone/laravel-iban-to-bic
Migrate your database:
php artisan migrate
After installing or updating the package run these two commands to import the most recent data:
php artisan vendor:publish --provider="Teraone\LaravelIbanToBic\IbanToBicServiceProvider" --force
php artisan import:bank-data
Usage
This Package adds a Facade called 'IbanToBicConverter' with one function called 'getBic', that returns a 'Bank' Object containing the BIC and some additional Information like the banks name and Bankleitzahl.
$bank = \Teraone\LaravelIbanToBic\Facades\IbanToBicConverter::getBic($iban);
Data
The Data this Package uses is provided by Bundesbank and can be found here.
License
The MIT License (MIT). Please see License File for more information.