PHP code example of rozdol / mt940

1. Go to this page and download the library: Download rozdol/mt940 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/ */

    

rozdol / mt940 example snippets


use Rozdol\Mt940\Mt940;
$this->mt940 = new Mt940();
$data=[...];
$result = $this->utils->mt940($data);

use Rozdol\Mt940\Mt940;
$this->mt940 = new Mt940();
$date_normalized = $this->mt940->F_date('01/01/20', 1); // 01.01.2020