Skip to content

xtwo/edifact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FORK OF sabas/edifact TO FIT OUR CUSTOM REQUIREMENTS


edifact

Tools to process EDI messages in UN/EDIFACT format

Supported syntax is version 3.

It's provided in a Composer package.

EDI/Parser

Given an edi message checks the syntax, outputs errors and returns the message as a multidimensional array.

EDI/Encoder

Given a multidimensional array (formatted as the output of the parser), returns an EDI string, optionally one segment per line.

EDI/Analyser

Create from EDI file readable structured text with comments from segments.xml

EDI/Reader

Read from EDI file requested segment element values

Example

Edifact DTM+7:201309200717:203'

Array ['DTM',['7','201309200717','203']]

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/.

Notes

Valid characters are: A-Za-z0-9.,-()/'+:=?!"%&*;<> UNECE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages