Download the PHP package firewalker/fio-client without Composer
On this page you can find all versions of the php package firewalker/fio-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download firewalker/fio-client
More information about firewalker/fio-client
Files in firewalker/fio-client
Download firewalker/fio-client
More information about firewalker/fio-client
Files in firewalker/fio-client
Vendor firewalker
Package fio-client
Short Description PHP client for the Fio Bank API with DTO support
License MIT
Package fio-client
Short Description PHP client for the Fio Bank API with DTO support
License MIT
Please rate this library. Is it a good library?
Informations about the package fio-client
FioClient PHP SDK
A PHP client for accessing the Fio Bank API, supporting retrieval of account statements and transactions in JSON, XML, or CSV format. The client provides raw responses as well as typed DTOs for easy consumption.
Installation
Install via Composer:
Requires PHP 8.3+.
Usage
Basic Setup
Fetch Transactions (Raw JSON)
Fetch Transactions as DTO
Fetch Last Transactions
Fetch Transactions Since a Specific ID
Set Last Transaction ID
Supported Formats
You can get responses in:
- JSON (default)
- XML
- CSV
Exceptions
App\Exception\HttpException— HTTP response code >= 300.App\Exception\InvalidFormatException— invalid format passed to request.App\Exception\JsonException— invalid API response structure.\JsonException— native PHP JSON decoding errors.Psr\Http\Client\ClientExceptionInterface— HTTP client errors.
DTOs
The main DTO is AccountStatementDto, which contains:
accountIdaccountNumbercurrencytransactions— array ofTransactionDtoobjects
Each TransactionDto contains details such as:
transactionIddateamountcounterpartyAccountcounterpartyNamevariableSymbolmessagetypeperformedBy
Use DTOs when you want typed access to transaction data. Otherwise, raw JSON gives you the full API response as an array.
Example: Iterate Transactions
Notes
- All methods are PSR-18 / PSR-17 compatible, so any HTTP client implementing these standards works.
- DTO methods always return JSON-decoded data, even if the raw request was in XML or CSV, so JSON is recommended for DTOs.
- The client throws explicit exceptions for HTTP, invalid formats, and JSON errors.
License
MIT
All versions of fio-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
psr/http-client Version ^1.0
psr/http-message Version ^1.0
nyholm/psr7 Version ^1.8
ext-json Version *
psr/http-client Version ^1.0
psr/http-message Version ^1.0
nyholm/psr7 Version ^1.8
ext-json Version *
The package firewalker/fio-client contains the following files
Loading the files please wait ...