Hello I am new to ZEND framework
. I have xml
file of an order and I am trying to prepare EDIFACT
file of same using zend but I am not getting any idea how to achieve this? I have read the documentation of EDIFACT and also got code from Google Codes to generate EDI
but it is incomplete. There is no method to generate EDIFACT within this package so it is not helping.
So is there any library to generate EDIFACT
file in zend or php
?
Thank you.
This git may be what you want :
PHP edifact
Tools to process EDI messages in UN/EDIFACT format
Supported syntax is version 3.
It's provided in a Composer package:
composer require sabas/edifact
The mapping xml files are provided in a separate package:
composer require php-edifact/edifact-mapping
It make,read,compress .edi for edifact with PHP
I don't think you will find a PHP library for this. You are not just converting it to 'EDIFACT' it will be a Trading Partner implementation of a EDIFACT message within an EDIFACT Directory of which there are many. This makes the chances of finding a suitable PHP library remote.
Set up a BOTS server ( http://bots.sourceforge.net/en/index.shtml ) and create an XML to EDIFACT map. Don't reinvent the wheel in PHP etc. It will take too long and it will scale in the future. Creating your own EDI library in a PHP framework is putting a huge burden on you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.