PHPackages                             dlakomski/edifact - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. dlakomski/edifact

ActiveLibrary[Queues &amp; Workers](/categories/queues)

dlakomski/edifact
=================

Tools in PHP for UN/EDIFACT

0.0.3(10y ago)098LGPL-3.0+PHP

Since Jun 30Pushed 10y agoCompare

[ Source](https://github.com/dlakomski/edifact)[ Packagist](https://packagist.org/packages/dlakomski/edifact)[ Docs](https://github.com/dlakomski/edifact)[ RSS](/packages/dlakomski-edifact/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

edifact
=======

[](#edifact)

Tools to process EDI messages in UN/EDIFACT format

Supported syntax is version 3.

It's provided in a Composer package.

EDI/Parser
----------

[](#ediparser)

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

EDI/Encoder
-----------

[](#ediencoder)

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

EDI/Analyser
------------

[](#edianalyser)

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

EDI/Reader
----------

[](#edireader)

Read from EDI file requested segment element values

Example
-------

[](#example)

Edifact DTM+7:201309200717:203'

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

Syntax data
-----------

[](#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/](IZISandbox).

Notes
-----

[](#notes)

Valid characters are: A-Za-z0-9.,-()/'+:=?!"%&amp;\*;&lt;&gt; [UNECE](http://www.unece.org/trade/untdid/texts/d422_d.htm#p5.1)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.6% 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

Every ~63 days

Total

2

Last Release

3912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aaa498a9162d1bafef110f5b324c9e3efee16d2703ac258d01551530e3ddd749?d=identicon)[dlakomski](/maintainers/dlakomski)

---

Top Contributors

[![sabas](https://avatars.githubusercontent.com/u/1304918?v=4)](https://github.com/sabas "sabas (34 commits)")[![uldisn](https://avatars.githubusercontent.com/u/3525344?v=4)](https://github.com/uldisn "uldisn (23 commits)")[![gRoberts84](https://avatars.githubusercontent.com/u/348184?v=4)](https://github.com/gRoberts84 "gRoberts84 (1 commits)")[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (1 commits)")

---

Tags

messagecontainerediedifact

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dlakomski-edifact/health.svg)

```
[![Health](https://phpackages.com/badges/dlakomski-edifact/health.svg)](https://phpackages.com/packages/dlakomski-edifact)
```

###  Alternatives

[sabas/edifact

Tools in PHP for UN/EDIFACT

2881.6M7](/packages/sabas-edifact)[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M879](/packages/php-amqplib-php-amqplib)[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.3k20.1M65](/packages/php-amqplib-rabbitmq-bundle)[php-edifact/edifact-mapping

XML mappings from UNTDID

24736.9k2](/packages/php-edifact-edifact-mapping)[aws/aws-php-sns-message-validator

Amazon SNS message validation for PHP

21421.5M91](/packages/aws-aws-php-sns-message-validator)[php-edifact/edifact-generator

EDIFACT message generators

37194.7k](/packages/php-edifact-edifact-generator)

PHPackages © 2026

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