PHPackages                             vanessa-dev/ofxparser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. vanessa-dev/ofxparser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

vanessa-dev/ofxparser
=====================

Simple OFX file parser

1.0.9(2y ago)1527MITPHPPHP &gt;=5.4

Since Feb 7Pushed 2y agoCompare

[ Source](https://github.com/vanessa-dev/ofxparser)[ Packagist](https://packagist.org/packages/vanessa-dev/ofxparser)[ RSS](/packages/vanessa-dev-ofxparser/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (13)Used By (0)

OFX Parser
==========

[](#ofx-parser)

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

It supports multiple Bank Accounts, the required "Sign On" response, and recognises OFX timestamps.

\##Installation

Simply require this package in your composer.json:

```
{
    "require": {
        "asgrim/ofxparser": "dev-master"
    }
}
```

Then update composer:

```
$ php composer.phar update asgrim/ofxparser
```

Usage
-----

[](#usage)

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

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

// Get the statement start and end dates
$startDate = $Ofx->BankAccount->Statement->startDate;
$endDate = $Ofx->BankAccount->Statement->endDate;

// Get the statements for the current bank account
$transactions = $Ofx->BankAccount->Statement->transactions;
```

Most common nodes are support. If you come across an inaccessible node in your OFX file, please submit a pull request!

Fork &amp; Credits
------------------

[](#fork--credits)

This is a fork of [grimfor/ofxparser](https://github.com/Grimfor/ofxparser) made to be framework independent. The source repo was designed for Symfony 2 framework, so credit should be given where credit due! Heavily refactored by [Oliver Lowe](https://github.com/loweoj) and loosely based on the ruby [ofx-parser by Andrew A. Smith](https://github.com/aasmith/ofx-parser).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~25 days

Total

10

Last Release

1064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/600f8aa2b2b296da1b1c85747ee1822fed984eae24d11eb6bfc51969642557ed?d=identicon)[vanessa-dev](/maintainers/vanessa-dev)

---

Top Contributors

[![asgrim](https://avatars.githubusercontent.com/u/496145?v=4)](https://github.com/asgrim "asgrim (22 commits)")[![vanessa-dev](https://avatars.githubusercontent.com/u/52542645?v=4)](https://github.com/vanessa-dev "vanessa-dev (16 commits)")[![loweoj](https://avatars.githubusercontent.com/u/915917?v=4)](https://github.com/loweoj "loweoj (12 commits)")[![diegoricardo](https://avatars.githubusercontent.com/u/2482691?v=4)](https://github.com/diegoricardo "diegoricardo (4 commits)")[![fernando-nery](https://avatars.githubusercontent.com/u/15134576?v=4)](https://github.com/fernando-nery "fernando-nery (2 commits)")[![jacques](https://avatars.githubusercontent.com/u/2543?v=4)](https://github.com/jacques "jacques (1 commits)")[![valorin](https://avatars.githubusercontent.com/u/897369?v=4)](https://github.com/valorin "valorin (1 commits)")

---

Tags

parserfinanceofxopen financial exchange

### Embed Badge

![Health badge](/badges/vanessa-dev-ofxparser/health.svg)

```
[![Health](https://phpackages.com/badges/vanessa-dev-ofxparser/health.svg)](https://phpackages.com/packages/vanessa-dev-ofxparser)
```

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k954.1M2.4k](/packages/nikic-php-parser)[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k959.4M159](/packages/doctrine-lexer)[masterminds/html5

An HTML5 parser and serializer.

1.8k269.7M321](/packages/masterminds-html5)[matomo/device-detector

The Universal Device Detection library, that parses User Agents and detects devices (desktop, tablet, mobile, tv, cars, console, etc.), clients (browsers, media players, mobile apps, feed readers, libraries, etc), operating systems, devices, brands and models.

3.5k26.4M180](/packages/matomo-device-detector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
