PHPackages                             ivanhosgood/aba-file-generator - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. ivanhosgood/aba-file-generator

ActiveLibrary[File &amp; Storage](/categories/file-storage)

ivanhosgood/aba-file-generator
==============================

Generate ABA bank transaction files from a collection of transactions. Forked from simonblee/aba-file-generator

0.0.8(7y ago)020MITPHPPHP &gt;=5.3

Since Aug 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ivanhosgood/aba-file-generator)[ Packagist](https://packagist.org/packages/ivanhosgood/aba-file-generator)[ RSS](/packages/ivanhosgood-aba-file-generator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (2)Versions (8)Used By (0)

ABA File Generator
==================

[](#aba-file-generator)

Notes
-----

[](#notes)

The ABA format provided @ simonblee/aba-file-generator does not match specification as described at: [https://www.commbank.com.au/content/dam/robohelp/PDFS/commbiz\_direct\_credit\_debit.pdf](https://www.commbank.com.au/content/dam/robohelp/PDFS/commbiz_direct_credit_debit.pdf)[https://www.nab.com.au/content/dam/nabconnectcontent/file-formats/NAB%20Connect%20Consolidated%20File%20Format%20Specification\_V0.05.pdf](https://www.nab.com.au/content/dam/nabconnectcontent/file-formats/NAB%20Connect%20Consolidated%20File%20Format%20Specification_V0.05.pdf)

Descriptive record does not contain BSB or account #. These fields (2-18) are to be left blank

Overview
--------

[](#overview)

Generates an aba file for bulk banking transactions with Australian banks.

License
-------

[](#license)

[MIT License](http://en.wikipedia.org/wiki/MIT_License)

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

[](#installation)

Copy the files where needed or install via composer:

```
composer require ivanhosgood/aba-file-generator
```

Usage
-----

[](#usage)

Create a generator object with the descriptive type information for this aba file:

```
use AbaFileGenerator\Model\Transaction;
use AbaFileGenerator\Generator\AbaFileGenerator;

$generator = new AbaFileGenerator(
    '123-456', // bsb
    '12345678', // account number
    'CBA', // bank name
    'User Name',
    'Remitter',
    '175029', // direct entry id for CBA
    'Payroll' // description
);

// Set a custom processing date if required
$generator->setProcessingDate('tomorrow');
```

Create an object or array of objects implementing `AbaFileGenerator\Model\TransactionInterface`. A simple Transaction object is provided with the library but may be too simple for your project:

```
$transaction = new Transaction();
$transaction->setAccountName(...);
$transaction->setAccountNumber(...);
$transaction->setBsb(...);
$transaction->setTransactionCode(...);
$transaction->setReference(...);
$transaction->setAmount(...);
```

Generate the aba string and save into a file (or whatever else you want):

```
$abaString = $generator->generate($transaction); // $transaction could also be an array here
file_put_contents('/my/aba/file.aba', $abaString);
```

References
----------

[](#references)

-
-
-

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

Every ~201 days

Recently: every ~328 days

Total

8

Last Release

2875d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88912da054ff6c5434e45f0f04b649d07ab2747dc13374c973caaee546a45db1?d=identicon)[ivanhosgood](/maintainers/ivanhosgood)

---

Top Contributors

[![simonblee](https://avatars.githubusercontent.com/u/1495783?v=4)](https://github.com/simonblee "simonblee (24 commits)")[![adamroyle](https://avatars.githubusercontent.com/u/25002779?v=4)](https://github.com/adamroyle "adamroyle (6 commits)")[![Brody365](https://avatars.githubusercontent.com/u/7381285?v=4)](https://github.com/Brody365 "Brody365 (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ivanhosgood-aba-file-generator/health.svg)

```
[![Health](https://phpackages.com/badges/ivanhosgood-aba-file-generator/health.svg)](https://phpackages.com/packages/ivanhosgood-aba-file-generator)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M61](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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