codzo / platinum28degree
用于与28Degree信用卡编辑交互的小工具
dev-master
2020-09-02 12:21 UTC
Requires
- php: >=5.3.0
- codzo/config: *
Requires (Dev)
- phpunit/phpunit: ^9.3
This package is auto-updated.
Last update: 2024-09-29 05:55:52 UTC
README
PHP库,用于与28Degree信用卡交互。28Degree信用卡网站为 https://28degrees-online.latitudefinancial.com.au
此包将下载并缓存网页。为了提高性能,您可以设置cronjob来自动化下载。请参阅bin
目录中的脚本。
安装
建议使用composer进行安装。
composer require codzo/platinum28degree
配置
在config/app.php
文件中指定28Degree网站的用户名和密码。有关参考,请参阅config/app.php.dist
。
使用
$pd = new \Codzo\Platinum28Degree\Platinum28Degree(); // update cache, omit if you have a cronjob setup $pd->updateCache(); $account_summary = $pd->getAccountSummary(); $transactions = $pd->getLatestTransactions();