2017 © Pedro Peláez
 

library camt

Library to read CAMT files (XML containing bank statements).

image

genkgo/camt

Library to read CAMT files (XML containing bank statements).

  • Thursday, December 7, 2017
  • by frederikbosch
  • Repository
  • 10 Watchers
  • 24 Stars
  • 40,416 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 33 Forks
  • 20 Open issues
  • 19 Versions
  • 25 % Grown

The README.md

Genkgo.CAMT

Build Status Code Coverage Total Downloads Latest Stable Version License, (*1)

Library to read CAMT files. Currently only CAMT.052, CAMT.053 and CAMT.054 are supported., (*2)

Supported Versions

Camt 052

Version Supported
camt.052.001.01 :heavy_check_mark:
camt.052.001.02 :heavy_check_mark:
camt.052.001.03
camt.052.001.04 :heavy_check_mark:
camt.052.001.05
camt.052.001.06 :heavy_check_mark:
camt.052.001.08 :heavy_check_mark:
camt.052.001.10
camt.052.001.11

Camt 053

Version Supported
camt.053.001.01
camt.053.001.02 :heavy_check_mark:
camt.053.001.03 :heavy_check_mark:
camt.053.001.04 :heavy_check_mark:
camt.053.001.05
camt.053.001.06
camt.053.001.08 :heavy_check_mark:
camt.053.001.10
camt.053.001.11

Camt 054

Version Supported
camt.054.001.01
camt.054.001.02 :heavy_check_mark:
camt.054.001.03
camt.054.001.04 :heavy_check_mark:
camt.054.001.05
camt.054.001.06
camt.054.001.08 :heavy_check_mark:
camt.054.001.10
camt.054.001.11

Installation

It is installable and autoloadable via Composer:, (*3)

composer require genkgo/camt

Getting Started

Read a CAMT file, and loop through its statements and entries., (*4)

<?php
use Genkgo\Camt\Config;
use Genkgo\Camt\Reader;

$reader = new Reader(Config::getDefault());
$message = $reader->readFile('test/data/camt053.v2.minimal.xml');
$statements = $message->getRecords();
foreach ($statements as $statement) {
    $entries = $statement->getEntries();
}

XSD validation

This library provides a XSD validation for each supported CAMT format. The validation is executed by default. But in some cases, you might want to disable it., (*5)

<?php
use Genkgo\Camt\Config;
use Genkgo\Camt\Reader;

$config = Config::getDefault();
$config->disableXsdValidation();

$reader = new Reader($config);

Contributing

  • Found a bug? Please try to solve it yourself first and issue a pull request. If you are not able to fix it, at least give a clear description what goes wrong. We will have a look when there is time.
  • Want to see a feature added, issue a pull request and see what happens. You could also file a bug of the missing feature and we can discuss how to implement it.

Quality

To check that everything is as it should be, run:, (*6)

composer check

To fix code style, run:, (*7)

composer check

How to release

  1. Create an annotated tag
    1. git tag -a 1.2.3
    2. Tag subject must be the version number, eg: 1.2.3
    3. Tag body must be a copy-paste of the changelog entries
  2. Push tag with git push --tags, then GitHub Actions will create a GitHub release automatically

The Versions

07/12 2017

dev-master

9999999-dev

Library to read CAMT files (XML containing bank statements).

  Sources   Download

The Requires

 

The Development Requires

07/12 2017

0.5.0

0.5.0.0

Library to read CAMT files (XML containing bank statements).

  Sources   Download

The Requires

 

The Development Requires

16/06 2017

0.4.1

0.4.1.0

Library to read CAMT files (XML containing bank statements).

  Sources   Download

The Requires

 

The Development Requires

16/06 2017

0.4.0

0.4.0.0

Library to read CAMT files (XML containing bank statements).

  Sources   Download

The Requires

 

The Development Requires

28/11 2016

0.3.0

0.3.0.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

28/11 2016

dev-refs-payment-id

dev-refs-payment-id

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

09/10 2015

0.2.4

0.2.4.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

09/10 2015

0.2.3

0.2.3.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

02/10 2015

0.2.2

0.2.2.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

30/09 2015

0.2.1

0.2.1.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

30/09 2015

0.2.0

0.2.0.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

30/09 2015

0.1.7

0.1.7.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

14/08 2015

0.1.6

0.1.6.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

13/05 2015

0.1.5

0.1.5.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

13/05 2015

0.1.4

0.1.4.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

18/04 2015

0.1.3

0.1.3.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

12/03 2015

0.1.2

0.1.2.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

12/03 2015

0.1.1

0.1.1.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires

12/03 2015

0.1.0

0.1.0.0

Library to read CAMT files (XML containing bank statements). Currently only CAMT.053 is supported.

  Sources   Download

The Requires

 

The Development Requires