PHPackages                             bruno-rodrigues/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. bruno-rodrigues/aba-file-generator

ActiveVcs

bruno-rodrigues/aba-file-generator
==================================

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

v1.0.1(4y ago)012.3k↓37.5%MITPHPPHP &gt;=7.3

Since Aug 12Pushed 4y agoCompare

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

READMEChangelog (4)Dependencies (2)Versions (11)Used By (0)

ABA File Generator (NAB specs)
==============================

[](#aba-file-generator-nab-specs)

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 bruno-rodrigues/aba-file-generator
```

Usage
-----

[](#usage)

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

```
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:

```
use AbaFileGenerator\Model\Transaction;

$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)

- [https://www.nab.com.au/content/dam/nabconnectcontent/file-formats/nab-connect-consolidated-file-format-specification\_v0.05-pdf.pdf](https://www.nab.com.au/content/dam/nabconnectcontent/file-formats/nab-connect-consolidated-file-format-specification_v0.05-pdf.pdf)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 64.9% 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 ~304 days

Recently: every ~514 days

Total

10

Last Release

1555d ago

Major Versions

v0.0.8 → v1.02020-09-02

PHP version history (2 changes)0.0.1PHP &gt;=5.3

0.0.7PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/938cb71988e0d8d4722e20c63e2471bd3414cc6421962583109b75fbf242dfbe?d=identicon)[bruno-rodrigues](/maintainers/bruno-rodrigues)

---

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)")[![bruno-rodrigues](https://avatars.githubusercontent.com/u/7862345?v=4)](https://github.com/bruno-rodrigues "bruno-rodrigues (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/bruno-rodrigues-aba-file-generator/health.svg)

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

PHPackages © 2026

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