PHPackages                             mrstroz/php-edi-x12 - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. mrstroz/php-edi-x12

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

mrstroz/php-edi-x12
===================

A framework for parsing and generating EDI X12 documents in PHP. Library built on top of aonach/php-edi and PopeFelix/php-edi, rebuild later by INWAVE Team

0.0.1(5y ago)1422717[3 issues](https://github.com/mrstroz/php-edi-x12/issues)MITPHPPHP ^7.3

Since Dec 30Pushed 5y ago2 watchersCompare

[ Source](https://github.com/mrstroz/php-edi-x12)[ Packagist](https://packagist.org/packages/mrstroz/php-edi-x12)[ RSS](/packages/mrstroz-php-edi-x12/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

PHP EDI X12
===========

[](#php-edi-x12)

A framework for parsing and generating EDI X12 documents in PHP.

Library built on top of [aonach/php-edi](https://github.com/aonach/php-edi)and [PopeFelix/php-edi](https://github.com/PopeFelix/php-edi), rebuild later by INWAVE Team.

Usage
-----

[](#usage)

```
use Mrstroz\Edi;
use Mrstroz\Edi\SegmentParser;

$documents = Edi::parseFile('./data/edi/edi-message.txt');
$segments = SegmentParser::parseAllSegmentsAsArray($documents);
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2002d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/771899?v=4)[Mariusz Stróż](/maintainers/mrstroz)[@mrstroz](https://github.com/mrstroz)

---

Top Contributors

[![mrstroz](https://avatars.githubusercontent.com/u/771899?v=4)](https://github.com/mrstroz "mrstroz (7 commits)")

---

Tags

libraryparseedix12

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mrstroz-php-edi-x12/health.svg)

```
[![Health](https://phpackages.com/badges/mrstroz-php-edi-x12/health.svg)](https://phpackages.com/packages/mrstroz-php-edi-x12)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[thunderer/shortcode

Advanced shortcode (BBCode) parser and engine for PHP

3892.7M49](/packages/thunderer-shortcode)[aranyasen/hl7

HL7 parser, generator and sender.

1961.6M](/packages/aranyasen-hl7)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.5M10](/packages/checkout-checkout-sdk-php)[andersondanilo/cnab_yaml

Especificação do formato Cnab240 e Cnab400 traduzida para Yaml

72288.0k6](/packages/andersondanilo-cnab-yaml)

PHPackages © 2026

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