2017 © Pedro Peláez
 

library php-coda-parser

PHP parser for Belgian CODA banking files

image

codelicious/php-coda-parser

PHP parser for Belgian CODA banking files

  • Saturday, April 21, 2018
  • by wimverstuyf
  • Repository
  • 7 Watchers
  • 18 Stars
  • 19,794 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 10 Forks
  • 1 Open issues
  • 6 Versions
  • 16 % Grown

The README.md

php-coda-parser

PHP parser for Belgian CODA banking files, (*1)

Build Status, (*2)

Installation

You can install Codelicious/Coda using Composer. You can read more about Composer and its main repository at http://packagist.org. First install Composer for your project using the instructions on the Packagist home page, then define your dependency on Codelicious/Coda in your composer.json file., (*3)

    {
        "require": {
            "codelicious/php-coda-parser": "^2.0"
        }
    }

Or you can execute the following command in your project root to install this library:, (*4)

composer require codelicious/php-coda-parser:^2.0

Demo / API

You can try the parser at https://eenvoudigfactureren.be/coda. An open API is also available at the same page if you don't feel like hosting the code yourself., (*5)

Usage

<?php

use Codelicious\Coda\Parser;

$parser = new Parser();
$statements = $parser->parseFile('coda-file.cod');

foreach ($statements as $statement) {
    echo $statement->getDate()->format('Y-m-d') . "\n";

    foreach ($statement->getTransactions() as $transaction) {
        echo $transaction->getAccount()->getName() . ": " . $transaction->getAmount() . "\n";
    }

    echo $statement->getNewBalance() . "\n";
}

Ports

Ports of the library to other languages: - C#: https://github.com/supervos/coda-parser - Java: https://github.com/JeffreyDevloo/coda-parser, (*6)

The Versions

21/04 2018

dev-master

9999999-dev https://github.com/wimverstuyf/php-coda-parser

PHP parser for Belgian CODA banking files

  Sources   Download

GPL-2.0

The Requires

  • php >=7.0.0

 

The Development Requires

by Wim Verstuyf

bank parsing coda

26/11 2017

v2.1.1

2.1.1.0 https://github.com/wimverstuyf/php-coda-parser

PHP parser for Belgian CODA banking files

  Sources   Download

GPL-2.0

The Requires

  • php >=7.0.0

 

The Development Requires

by Wim Verstuyf

bank parsing coda

25/11 2017

v2.1

2.1.0.0 https://github.com/wimverstuyf/php-coda-parser

PHP parser for Belgian CODA banking files

  Sources   Download

GPL-2.0

The Requires

  • php >=7.0.0

 

The Development Requires

by Wim Verstuyf

bank parsing coda

25/11 2017

v2.0

2.0.0.0 https://github.com/wimverstuyf/php-coda-parser

PHP parser for Belgian CODA banking files

  Sources   Download

GPL-2.0

The Requires

  • php >=7.0.0

 

The Development Requires

by Wim Verstuyf

bank parsing coda

14/11 2017

v1.1

1.1.0.0 https://github.com/wimverstuyf/php-coda-parser

PHP parser for Belgian CODA banking files

  Sources   Download

GPL-2.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Wim Verstuyf

bank parsing coda

01/10 2015

v1.0

1.0.0.0 https://github.com/wimverstuyf/php-coda-parser

PHP parser for Belgian CODA banking files

  Sources   Download

GPL-2.0

The Requires

  • php >=5.3.0

 

The Development Requires

by Wim Verstuyf

bank parsing coda