2017 © Pedro Peláez
 

library php-fints

PHP Library for the protocols fints and hbci

image

nemiah/php-fints

PHP Library for the protocols fints and hbci

  • Saturday, July 7, 2018
  • by nemiah
  • Repository
  • 2 Watchers
  • 3 Stars
  • 83 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 66 Forks
  • 1 Open issues
  • 7 Versions
  • 19 % Grown

The README.md

PHP FinTS/HBCI library

Build Status, (*1)

A PHP library implementing the following functions of the FinTS/HBCI protocol:, (*2)

  • Get accounts
  • Get balance
  • Get transactions
  • Execute direct debit
  • Execute transfer
  • Note that any other functions mentioned in section C of the specification should be relatively straightfoward to implement.

Forked from mschindler83/fints-hbci-php, but then mostly reimplemented., (*3)

Getting Started

Before using this library (or any other FinTS library), you have to register your application with Die Deutsche Kreditwirtschaft in order to get your registration number. Note that this process can take several weeks. First you receive your registration number after a couple days, but then you have to wait anywhere between 0 and 8+ weeks for the registration to reach your bank's server. If you have multiple banks, it probably reaches them at different times., (*4)

Then install the library via composer:, (*5)

composer require nemiah/php-fints

See the examples in the "Samples" folder to get started on your code. Fill out the required configuration in init.php (server details can be obtained at www.hbci-zka.de after registration). Then execute tanModesAndMedia.php and later login.php. Once you are able to login without any issues, you can move on to the other examples., (*6)

Banks with special needs

If you are developing an online banking application with this library, please be aware of the following exceptions:, (*7)

Hypovereinsbank

The BLZ 71120078 will throw an "Unbekanntes Kreditinstitut" exception when used with the URL https://hbci-01.hypovereinsbank.de/bank/hbci. You have to use BLZ 70020270 instead., (*8)

if (trim($url) == 'https://hbci-01.hypovereinsbank.de/bank/hbci')
    $blz = '70020270';

ING Diba

This bank does not support PSD2:, (*9)

if(trim($blz) == "50010517")
    $fints->selectTanMode(new Fhp\Model\NoPsd2TanMode());

Contribute

Contributions are welcome! See the developer guide for some background information., (*10)

We use a slightly modified version of the Symfony Coding-Style. Please run, (*11)

composer update

and, (*12)

composer cs-fix

before sending a PR., (*13)

Bank compatibility

Different banks implement different versions of the HBCI and FinTS specifications, and they also interpret the specification differently sometimes. In addition, banks behave differently (within the boundaries of the specification) when it comes to validation (some may tolerate slightly wrong requests), TANs (some ask for TANs more often than others) and allowed parameters (not all banks support all parameter combinations)., (*14)

This library aims to be compatible with all banks that support FinTS V3.0 and PIN/TAN-based authentication according to PSD2 regulations, which includes most relevant German banks. Currently, it works with the most popular banks at least, and probably with most others too. Some corner cases (e.g. Mehrfach-TANs or SMS-Abbuchungskonto for mTAN fees) are not and probably will not be supported. Those banks with a dedicated integration test have been tested most extensively., (*15)

If you encounter any problems with your particular bank, please check for open GitHub issues or open a new one., (*16)

The Versions

07/07 2018

dev-master

9999999-dev https://github.com/nemiah/phpFinTS

PHP Library for the protocols fints and hbci

  Sources   Download

MIT

The Requires

 

15/02 2017

1.0.4

1.0.4.0 http://fints-hbci-php.markus-schindler.de

PHP Library for the protocols fints and hbci

  Sources   Download

MIT

The Requires

 

12/01 2017

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1 http://fints-hbci-php.markus-schindler.de

PHP Library for the protocols fints and hbci

  Sources   Download

MIT

The Requires

 

12/01 2017

dev-bugfix/statement-parsing

dev-bugfix/statement-parsing http://fints-hbci-php.markus-schindler.de

PHP Library for the protocols fints and hbci

  Sources   Download

MIT

The Requires

 

05/09 2016

1.0.3

1.0.3.0 http://fints-hbci-php.markus-schindler.de

PHP Library for the protocols fints and hbci

  Sources   Download

MIT

The Requires

 

02/09 2016

1.0.2

1.0.2.0 http://fints-hbci-php.markus-schindler.de

PHP Library for the protocols fints and hbci

  Sources   Download

MIT

The Requires

 

24/08 2016

1.0.0

1.0.0.0 http://fints-hbci-php.markus-schindler.de

PHP Library for the protocols fints and hbci

  Sources   Download

MIT

The Requires