smalot/edi-sef-parser

Sef parser - Edi file definition structure.

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

This package is not auto-updated.

Last update: 2020-02-11 20:27:01 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];