php-edifact/edifact-mapping
PHP library for mapping EDIFACT messages to and from structured PHP data. Define segment and element mappings for orders, invoices, despatch advices and other EDI documents, then parse or generate EDIFACT cleanly in your PHP application.
Executive summary: This is a small open-source metadata package that provides XML descriptions of EDIFACT message structures. It can accelerate early EDI feature work by reducing the effort to define and validate common B2B message formats, but it is not a complete EDI platform. It is best used as reference data inside a Laravel/PHP mapping layer, with clear ownership of validation, partner-specific rules, transport, and support. Adoption should be gated on message coverage, LGPL compliance, maintenance risk, and an exit plan.
Engineering summary: Integrate via Composer, wrap the XML descriptions behind an internal mapping/validation service, pin the dependency, and test against real partner messages. Do not couple product logic directly to the package’s files. Budget for schema coverage checks, version updates, and fallback handling because the package is low-signal and not recently released.
How can I help you explore Laravel packages today?