beccha/ofxparser 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

beccha/ofxparser

最新稳定版本:v2.1.0

Composer 安装命令:

composer require beccha/ofxparser

包简介

OFX file parser

README 文档

README

Tests Lint Security Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

This is a fork of oriatec/ofxparser. However, the compatibilty with this library was not preserved.

OFX Parser is a PHP library designed to parse an OFX file downloaded from a financial institution into simple PHP objects.

Here are the OFX Specifications.

Installation

Simply require the package using Composer:

$ composer require beccha/ofxparser

Usage

You can access the nodes in your OFX file as follows:

$ofxParser = new \Beccha\OfxParser\Parser();
$ofx = $ofxParser->loadFromFile('/path/to/your/bankstatement.ofx');

$bankAccounts = $ofx->getBankAccounts();
$firstBankAccount = $bankAccounts[0];

// Get the statement start and end dates
$startDate = $firstBankAccount->getStatement()->getStartDate();
$endDate = $firstBankAccount->getStatement()->getEndDate();

// Get the statement transactions for the account
$transactions = $firstBankAccount->getStatement()->getTransactions();

Contribute

Requirements

You must have docker installed on your system.

Installation

Clone this repository on your system

git clone https://github.com/beccha/ofxparser.git

Start and build a docker container with php7.4:

make start

Deploy Composer packages:

make init

Launch unit tests:

make unit

Other commands

Access shell:

make shell

Please make sure to check the quality of your code before submitting a pull request:

make quality-check

Full list of commands in the Makefile at the root of the project.

Fork & Credits

This is a fork of oriatec/ofxparser, itself forked of okonst/ofxparser, asgrim/ofxparser. Intended to be framework independent.

Loosely based on the ruby ofx-parser by Andrew A. Smith.

统计信息

  • 总下载量: 11.06k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 107
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固