PHPackages                             stephenharris/phpqif - 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. stephenharris/phpqif

ActiveLibrary

stephenharris/phpqif
====================

A simple PHP library for writing QIF files

0.1.0(8y ago)48.1k4[2 PRs](https://github.com/stephenharris/phpqif/pulls)1MITPHPCI failing

Since Jun 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/stephenharris/phpqif)[ Packagist](https://packagist.org/packages/stephenharris/phpqif)[ RSS](/packages/stephenharris-phpqif/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

PHP QIF Library
===============

[](#php-qif-library)

A far from feature complete library for writing QIF files in PHP.

Installation
------------

[](#installation)

```
composer require stephenharris/phpqif

```

Usage
-----

[](#usage)

### Writer

[](#writer)

```
// Instatiate the QIF Writer
$qif = new StephenHarris\QIF\Writer();

// Create a new transaction
$transaction = new Transaction( Transaction::CASH );

$transaction->setDate( new \DateTime( '2017-12-31' ) )
	->setDescription( 'invoice-123: Some Payment' )
	->setAmount( 68.99 )
	->setCategory( 'Sales' )
	->addSplit( 'Sales', 60 )
	->addSplit( 'Fee', -3.01 )
	->addSplit( 'Tax', 12 )
	->markReconciled();

// Add it to the QIF
$qif->addTransaction( $transaction );

echo $qif;
```

### Parser

[](#parser)

```
// Instatiate the QIF Writer
$qifParser = new StephenHarris\QIF\Parser( $filePath );
$qifParser->parse();

foreach( $qifParser->getTransactions() as $transaction )
{
    // your code
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

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

Unknown

Total

1

Last Release

3245d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00d5900d269dab58816954d5db3d61ee200eec39565c8cb8f3caccd165b64441?d=identicon)[stephenharris](/maintainers/stephenharris)

---

Top Contributors

[![stephenharris](https://avatars.githubusercontent.com/u/3255034?v=4)](https://github.com/stephenharris "stephenharris (4 commits)")[![MimoGraphix](https://avatars.githubusercontent.com/u/5190700?v=4)](https://github.com/MimoGraphix "MimoGraphix (3 commits)")

---

Tags

qif

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stephenharris-phpqif/health.svg)

```
[![Health](https://phpackages.com/badges/stephenharris-phpqif/health.svg)](https://phpackages.com/packages/stephenharris-phpqif)
```

PHPackages © 2026

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