Skip to content

matusstafura/fioapi

Repository files navigation

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.

About

FioBank API PHP for transaction reports

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages