PHPackages                             andrew-svirin/mt942-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. andrew-svirin/mt942-php

Abandoned → [ebics-api/mt942-php](/?search=ebics-api%2Fmt942-php)Library[Validation &amp; Sanitization](/categories/validation)

andrew-svirin/mt942-php
=======================

PHP library for parse MT942 Swift format. Helper module for EBICS.

1.0.5(1y ago)665.6k—6%41MITPHPPHP ^7.4 || ^8

Since Sep 2Pushed 1y ago2 watchersCompare

[ Source](https://github.com/ebics-api/mt942-php)[ Packagist](https://packagist.org/packages/andrew-svirin/mt942-php)[ RSS](/packages/andrew-svirin-mt942-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (10)Used By (1)

MT942-PHP
=========

[](#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](https://github.com/ebics-api/ebics-client-php)

### Installation

[](#installation)

```
$ composer require ebics-api/mt942-php
```

### License

[](#license)

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

### Example

[](#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);
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~385 days

Recently: every ~451 days

Total

6

Last Release

522d ago

PHP version history (3 changes)1.0.0PHP ^7.0

1.0.3PHP ^7.2 || ^8

1.0.5PHP ^7.4 || ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16819743?v=4)[Andrew Svirin](/maintainers/andrew-svirin)[@andrew-svirin](https://github.com/andrew-svirin)

---

Top Contributors

[![andrew-svirin](https://avatars.githubusercontent.com/u/16819743?v=4)](https://github.com/andrew-svirin "andrew-svirin (4 commits)")[![JohnyRicio](https://avatars.githubusercontent.com/u/29255375?v=4)](https://github.com/JohnyRicio "JohnyRicio (1 commits)")[![test12376](https://avatars.githubusercontent.com/u/2381545?v=4)](https://github.com/test12376 "test12376 (1 commits)")

---

Tags

phpnormalizervalidatorswiftmt942

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/andrew-svirin-mt942-php/health.svg)

```
[![Health](https://phpackages.com/badges/andrew-svirin-mt942-php/health.svg)](https://phpackages.com/packages/andrew-svirin-mt942-php)
```

###  Alternatives

[ronanguilloux/isocodes

PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Book and Music Industries, Phone numbers &amp; Zipcodes for many countries

8013.3M23](/packages/ronanguilloux-isocodes)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
