Download the PHP package be-lenka/fio-php-sdk without Composer
On this page you can find all versions of the php package be-lenka/fio-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download be-lenka/fio-php-sdk
More information about be-lenka/fio-php-sdk
Files in be-lenka/fio-php-sdk
Package fio-php-sdk
Short Description Read JSON file from Fio bank and can send request.
License MIT
Homepage https://github.com/be-lenka/fio-php-sdk
Informations about the package fio-php-sdk
Fio
Support Fio API. Read is provided via json file.
Installation to project
The best way to install be-lenka/fio-php-sdk is using Composer:
How to use
Here is example and run via cli. This script require account.ini in same directory, whose looks like.
FioFactory class help you create instances of classes FioPay and FioRead.
Reading
Read range between date.
You can download transaction by id of year.
Very useful method where download last transactions.
After download it automaticaly set new break point.
Change your break point.
By date.
By movement ID.
Custom Transaction class
By default is Belenka\Fio\Response\Read\Transaction if you want other names for properties. Let's define as second parameter to FioFactory.
Define annotation and you don't forget id in brackets.
Payment (writing)
Api has three response languages, default is set cs. For change:
For send request is method send whose accept, file path to your xml or abo file or instance of class Property.
Object pay only to czech or slovak:
Euro zone payment:
International payment:
Send more payments in one request:
All versions of fio-php-sdk with dependencies
ext-mbstring Version *
ext-xmlwriter Version *
ext-simplexml Version *
guzzlehttp/guzzle Version ^6.0 | ^7.0
nette/safe-stream Version ^2.4
nette/utils Version ^2.0 | ^3.0