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)1522817[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 1w 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 30% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity39

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

2047d 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.7k39.6k](/packages/matomo-matomo)[craftcms/cms

Craft CMS

3.6k3.7M3.3k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k19](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M16](/packages/checkout-checkout-sdk-php)[lion/bundle

Lion-framework configuration and initialization package

132.4k5](/packages/lion-bundle)

PHPackages © 2026

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