/php-edi-x12

A framework for parsing and generating EDI X12 documents in PHP

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

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.

Usage

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

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