Skip to content

PHP library implements MT942 format normalizer for SWIFT transactions.

License

Notifications You must be signed in to change notification settings

ebics-api/mt942-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8403e94 · Dec 12, 2024

History

97 Commits
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Jan 29, 2021
Jan 27, 2021
Dec 12, 2024
Dec 12, 2024
Aug 3, 2019
Dec 12, 2024
Jan 29, 2021
Jan 29, 2021
Jan 27, 2021

Repository files navigation

MT942-PHP

This tools convert MT942 formatted text to PHP objects. PHP library for parse MT942 format that uses Swift.
Banks uses MT942 format for payments data transition.
More details about MT942 format you can find in Internet.

Helper for EBICS Client PHP

Installation

$ composer require ebics-api/mt942-php

License

ebics-api/mt942-php is licensed under the MIT License, see the LICENSE file for details

Example

Normalize:

 $str = file_get_contents('path_to_file.mt942');
 $normalizer = new EbicsApi\MT942\MT942Normalizer();
 $transactionList = $normalizer->normalize($str);

Validate:

 $validator = new MT942Validator();
 $violationList = $validator->validateList($transactionList);

About

PHP library implements MT942 format normalizer for SWIFT transactions.

Resources

License

Stars

Watchers

Forks