2017 © Pedro PelĂĄez
 

library fio-api-php

Fio API PHP implemention

image

mhujer/fio-api-php

Fio API PHP implemention

  • Monday, May 14, 2018
  • by mhujer
  • Repository
  • 7 Watchers
  • 19 Stars
  • 3,056 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 12 Forks
  • 2 Open issues
  • 16 Versions
  • 22 % Grown

The README.md

Fio API PHP implemention

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

Fio bank REST API implementation in PHP. It allows you to download and iterate through account balance changes., (*2)

There is a Symfony Bundle for using this library in a Symfony app., (*3)

Usage

  1. Install the latest version with composer require mhujer/fio-api-php
  2. Create a token in the ebanking (NastavenĂ­ / API)
  3. Use it according to the example bellow and check the docblocks
<?php
require_once 'vendor/autoload.php';

$downloader = new FioApi\Downloader('TOKEN@todo');
$transactionList = $downloader->downloadSince(new \DateTimeImmutable('-1 week'));

foreach ($transactionList->getTransactions() as $transaction) {
    var_dump($transaction); //object with getters
}

Available endpoints:

  • downloadFromTo(DateTimeInterface $from, DateTimeInterface $to): TransactionList
  • downloadSince(DateTimeInterface $since): TransactionList
  • downloadLast(): TransactionList
  • setLastId(string $id) - sets the last downloaded ID through the API

Requirements

Fio API PHP works with PHP 7.4 or higher., (*4)

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub, (*5)

Author

Martin Hujer - https://www.martinhujer.cz, (*6)

Changelog

5.0.0 (2024-06-07)

  • #31 add composer/ca-bundle as a required dependency instead of bundled root cert (thx @feldsam!)

4.2.0 (2024-05-30)

  • #28 use new Fio API URL (thx @feldsam!)

4.1.2 (2019-12-28)

  • #19 gracefully handle response with empty column8 (thx @fmasa!)

4.1.1 (2019-01-28)

  • #17 added senderName (nazev protiuctu) (thx @jan-stanek!)

4.1.0 (2018-04-13)

  • #13 Support /last and /set-last-id endpoints (thx @jiripudil!)

4.0.1 (2017-08-09)

  • #12 handle empty transaction list (thx @soukicz!)

4.0.0 (2017-08-04)

  • #9 minimal supported version is PHP 7.1
  • #9DateTime replaced with DateTimeImmutable (or DateTimeInterface)
  • #9 strict types and primitive typehints are used everywhere

3.0.0 (2016-11-24)

  • dropped support for PHP <7

2.3.0 (2016-11-24)

  • #7: added official composer CA bundle support (@soukicz)

2.2.0 (2016-03-13)

2.1.0 (2016-03-12)

  • #1: updated default GeoTrust certificate (@soukiii)
  • #1: added specification field in transaction (@soukiii)

2.0.0 (2015-06-14)

  • upgraded to Guzzle 6
  • support for PHP 5.4 dropped (as Guzzle 6 requires PHP 5.5+)

1.0.3 (2015-06-14)

  • updated root certificate (Root 3) as the Fio changed it on 2014-05-26

1.0.0 (2015-04-05)

  • initial release

The Versions

14/05 2018

dev-master

9999999-dev https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

13/04 2018

4.1.0

4.1.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

09/08 2017

4.0.1

4.0.1.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

04/08 2017

4.0.0

4.0.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

09/12 2016

dev-rf-and-php71

dev-rf-and-php71 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

24/11 2016

3.0.0

3.0.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

24/11 2016

2.0.x-dev

2.0.9999999.9999999-dev https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

24/11 2016

2.3.0

2.3.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

13/03 2016

2.2.0

2.2.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

12/03 2016

2.1.0

2.1.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

14/06 2015

2.0.0

2.0.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

14/06 2015

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

14/06 2015

1.0.3

1.0.3.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

09/06 2015

1.0.2

1.0.2.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

06/06 2015

1.0.1

1.0.1.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio

05/04 2015

1.0.0

1.0.0.0 https://github.com/mhujer/fio-api-php

Fio API PHP implemention

  Sources   Download

MIT

The Requires

 

The Development Requires

api banking fio