Skip to content

Tools to process EDI messages in UN/EDIFACT format

License

Notifications You must be signed in to change notification settings

gRoberts84/edifact

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Tools to process EDI messages in UN/EDIFACT format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%