smalot/edi-sef-parser

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Sef parser - Edi file definition structure.

dev-master 2015-11-16 23:39 UTC

This package is not auto-updated.

Last update: 2021-10-20 04:21:45 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License Build Status Scrutinizer Code Quality

Implementation

<?php

include 'vendor/autoload.php';

$content = file_get_contents('810_4050.sef');
$sef = \Smalot\Edi\Sef\Parser::parse($content);

$version = $sef->getVersion();
$ini = $sef->getIniSection();
$description = $ini[5];