PHP code example of z38 / ibantool
1. Go to this page and download the library: Download z38/ibantool 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/ */
z38 / ibantool example snippets
38\IbanTool\IbanTool;
$tool = new IbanTool([
'ibantool_jar' => __DIR__.'/ibantool_java.jar' // download JAR from the official website
]);
$tool->convert('709', '1109-0629613'); // returns CH0500700110900629613
$tool->convertPostal('80-470-3'); // returns CH1809000000800004703