2017 © Pedro Peláez
 

library okmexportparser

OkmExportParser is single-class library for parsing exports from Komercni Banka in OKM (BEST KB) format.

image

jaromirnyklicek/okmexportparser

OkmExportParser is single-class library for parsing exports from Komercni Banka in OKM (BEST KB) format.

  • Sunday, February 7, 2016
  • by jaromirnyklicek
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 16 % Grown

The README.md

OkmExportParser

Simple PHP parser of KB OKM export files (BEST KB client file format)., (*1)

This library only parses content of OKM export file. It DOES NOT have any ambitions to understand its semantics etc., (*2)

Install via composer:, (*3)

$ composer require jaromirnyklicek/okmexportparser

Usage

<?php

use C3poCz\OkmExportParser;

$okmFileContent = file_get_contents('/path/to/my/file.okm');
$parser = new OkmExportParser($okmFileContent);

$parser->getHeader(); // returns header of OKM file as array
$parser->getFooter(); // returns footer of OKM file as array
$parser->getTurnover(); // returns turnover sentence of OKM file as array
$parser->getTransactions(); // returns list of transactions as nested array

The Versions

07/02 2016

dev-master

9999999-dev https://github.com/jaromirnyklicek/OkmExportParser

OkmExportParser is single-class library for parsing exports from Komercni Banka in OKM (BEST KB) format.

  Sources   Download

MIT

The Development Requires

by Jaromir Nyklicek

parser best kb okm mojebanka