matusstafura / fioapi
Fio API PHP 交易报告
0.2.9
2023-09-18 17:12 UTC
Requires
- php: ^8.0
Requires (Dev)
- guzzlehttp/guzzle: ^7.4
- nunomaduro/larastan: ^2.0
- nunomaduro/phpinsights: ^2.1
- orchestra/testbench: ^7.1
- pestphp/pest: ^1.21
- spatie/pest-plugin-test-time: ^1.0
README
通过日期在json中获取Fio银行交易报告。
创建令牌
登录您的Fio管理员区域:设置 > API > 添加新令牌。
🚀 使用Composer安装
composer require matusstafura/fioapi
Laravel
- 发布配置文件
php artisan vendor:publish --tag="fio-report"
- 在.env中添加令牌
FIO_TOKEN = "your_api_token"
👀 快速查看
<?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
许可证
本项目是开源软件,受MIT许可证许可。