Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 822 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 822 Bytes

Fio Bank PHP API Wrapper

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.