PHPackages                             picqer/knab-to-xero - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. picqer/knab-to-xero

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

picqer/knab-to-xero
===================

A PHP script to convert Knab CSV files to Xero files

v1.0.0(11y ago)223MITPHP

Since Feb 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/picqer/knab-to-xero)[ Packagist](https://packagist.org/packages/picqer/knab-to-xero)[ Docs](http://github.com/picqer/knab-to-xero)[ RSS](/packages/picqer-knab-to-xero/feed)WikiDiscussions master Synced 1mo ago

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

Knab to Xero CSV file converter
===============================

[](#knab-to-xero-csv-file-converter)

Knab is a Dutch bank where you can export your transactions to a CSV file. This script can convert this Knab CSV file to a file that is the right format for Xero to import as a bank transactions file.

Usage
-----

[](#usage)

You can use the provided index.php to convert files in your webbrowser, or use the classes to create your own converter.

Example
-------

[](#example)

```
$knabExtractor = new \Picqer\KnabToXero\KnabExtractor();
$knabRecords = $knabExtractor->extractCSV(file_get_contents('example.csv'));

$converter = new \Picqer\KnabToXero\KnabToXeroConverter();
$xeroRecordCollection = $converter->convertArray($knabRecords);

$csvCreator = new \Picqer\KnabToXero\XeroCsvCreator();

header('Content-type: text/csv');
header('Content-Disposition: attachment; filename=XeroBankImport' . date('YmdHi') . '.csv');
header('Pragma: no-cache');
header('Expires: 0');
echo $csvCreator->createCsv($xeroRecordCollection);

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

4095d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e81564faf640cc39dc0a13fd619ee761e6e99e7bae96ca258fcd2e7d9f8cbd5?d=identicon)[cbakker](/maintainers/cbakker)

---

Top Contributors

[![casperbakker](https://avatars.githubusercontent.com/u/886975?v=4)](https://github.com/casperbakker "casperbakker (4 commits)")

---

Tags

xerocsv-converterknab

### Embed Badge

![Health badge](/badges/picqer-knab-to-xero/health.svg)

```
[![Health](https://phpackages.com/badges/picqer-knab-to-xero/health.svg)](https://phpackages.com/packages/picqer-knab-to-xero)
```

###  Alternatives

[phabel/phabel

Write and deploy modern PHP 8 code, today.

24560.4k12](/packages/phabel-phabel)[typo3/cms-setup

TYPO3 CMS Setup - Allows users to edit a limited set of options for their user profile, including preferred language, their name and email address.

178.5M103](/packages/typo3-cms-setup)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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