PHP code example of elgigi / iban
1. Go to this page and download the library: Download elgigi/iban library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
elgigi / iban example snippets
$iban = Iban::parse('FR14 2004 1010 0505 0001 3M02 606');
$bban = Bban::parse('2004 1010 0505 0001 3M02 606', Country::FR);
$iban = new Iban(Bban::parse('2004 1010 0505 0001 3M02 606', Country::FR));
print $iban->format(); // Output: 'FR14 2004 1010 0505 0001 3M02 606'