edifact
Tools to process EDI messages in UN/EDIFACT format, (*1)
Supported syntax is version 3., (*2)
It's provided in a Composer package., (*3)
EDI/Parser
Given an edi message checks the syntax, outputs errors and returns the message as a multidimensional array., (*4)
EDI/Encoder
Given a multidimensional array (formatted as the output of the parser), returns an EDI string, optionally one segment per line., (*5)
EDI/Analyser
Create from EDI file readable structured text with comments from segments.xml, (*6)
EDI/Reader
Read from EDI file requested segment element values, (*7)
Example
Edifact DTM+7:201309200717:203', (*8)
Array ['DTM',['7','201309200717','203']], (*9)
Syntax data
Processed from EDI PEAR Package by David JEAN LOUIS (izi), downloadable from https://code.google.com/p/izi-sandbox/source/browse/trunk/php/php_edi/., (*10)
Notes
Valid characters are: A-Za-z0-9.,-()/'+:=?!"%&*;<> UNECE, (*11)