z38/ibantool

Wrapper for the SIX IBAN-Tool

v0.1.0 2015-03-07 22:50 UTC

This package is auto-updated.

Last update: 2024-06-07 03:28:14 UTC


README

Build Status

IbanTool is a small wrapper around the IBAN-Tool by SIX Interbank Clearing. It can be used to calculate the IBANs of Swiss and Liechtenstein bank account numbers for master data conversions.

<?php

require __DIR__.'/vendor/autoload.php';

use Z38\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

Further Resources

Disclaimer

This project is not affiliated with, endorsed, or sponsored by SIX Interbank Clearing AG.

License

BSD-3-Clause