Fio API PHP for transaction reports

0.2.9 2023-09-18 17:12 UTC

This package is auto-updated.

Last update: 2024-05-18 18:34:41 UTC


README

Get Fio Bank transaction reports by date in json.

Create a token

Log in to your Fio admin area: Settings > API > Add new token.

🚀 Installation using Composer

composer require matusstafura/fioapi

Laravel

  • to publish config file
php artisan vendor:publish --tag="fio-report"
  • add token in .env
FIO_TOKEN = "your_api_token"

👀 Quick view

<?php

use Matusstafura\FioApi\Facades\FioReport;

FioReport::yesterday();
// will return transaction from previous day

FioReport::today();
// will return today's transactions

FioReport::betweenDates("2022-02-14", "2022-02-18");
// will return transactions between dates in format YYYY-MM-DD

License

This project is open-sourced software licensed under the MIT license.