2017 © Pedro Peláez
 

library php-mt940

Simple MT940 parser in PHP

image

kingsquare/php-mt940

Simple MT940 parser in PHP

  • Monday, March 27, 2017
  • by fruitl00p
  • Repository
  • 10 Watchers
  • 49 Stars
  • 112,882 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 34 Forks
  • 6 Open issues
  • 20 Versions
  • 7 % Grown

The README.md

Latest Stable Version Total Downloads License, (*1)

Scrutinizer Quality Score Build Status wercker status, (*2)

php-mt940?

The php-mt940 package provides a lightweight parser for MT940 format which is used by SWIFT. The output is transformed into easy to use dataclasses Transaction_banking which itself contains Statement_banking objects. Pretty straight forward., (*3)

Requirements

  • At least PHP 7

Installation

If composer is not yet on your system, follow the instructions on getcomposer.org to do so., (*4)

To add this dependency to your project, simply run the following command from the root of your project:, (*5)

composer require kingsquare/php-mt940, (*6)

This ensures that you install the latest stable release., (*7)

How to use the parser?

I've attached a simple script in the examples directory to explain it a bit more in detail, but after loading the required classes, the usage should be pretty simple:, (*8)

parse(file_get_contents($tmpFile));
?>

Included engines

Currently the following engines are included:, (*9)

Custom engines

To override engines or just try a one-off engine on a file, you can pass an engine into the parse-method:, (*10)

parse(file_get_contents($tmpFile), $engine);
?>

Known issues

I've provided unittests but please take a look at the github issue tracker for the latest ideas's, issues or other stuff.., (*11)

Future plans

I do intend to add new engines or keep everything running smoothly, but since i don't have access to any more test files, it's hard to add new engines ;) The unknown engine should work or atleast give some idea as to where different banks diverge from the standard. If you do have any ideas, examples or new banks that you'd like to see incorporated, please don't hesitate and send me an issue / pullrequest!, (*12)

Contact

This is GitHub, you know where to find me :), (*13)

License

PHP-MT940 is licensed under the MIT License - see the LICENSE file for details, (*14)

The Versions

27/03 2017

dev-master

9999999-dev https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

27/03 2017

1.4.0

1.4.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

13/03 2017

dev-rabo-pref

dev-rabo-pref https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

10/03 2017

1.3.0

1.3.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

02/06 2016

1.2.0-beta

1.2.0.0-beta https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

16/09 2015

1.1.0

1.1.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

03/09 2015

1.0.1

1.0.1.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

20/07 2015

1.0

1.0.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

parsing mt940

11/06 2015

0.11.0

0.11.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

parsing mt940

23/03 2015

0.10.0

0.10.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

parsing mt940

13/03 2015

0.9.2

0.9.2.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

parsing mt940

06/03 2015

0.9.1

0.9.1.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

parsing mt940

06/03 2015

0.9.0

0.9.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

parsing mt940

28/01 2015

0.7.0

0.7.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

parsing mt940

15/01 2015

0.6.1

0.6.1.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

parsing mt940

15/01 2015

0.6

0.6.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

parsing mt940

04/09 2014

0.5

0.5.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

parsing mt940

13/08 2014

0.4

0.4.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

parsing mt940

26/02 2014

0.3

0.3.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

parsing mt940

01/11 2013

0.2

0.2.0.0 https://github.com/fruitl00p/php-mt940

Simple MT940 parser in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

parsing mt940