PHPackages                             stechstudio/bai2 - 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. stechstudio/bai2

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

stechstudio/bai2
================

PHP library to read and parse BAI2 files

287.8k↓70%4[1 issues](https://github.com/stechstudio/bai2/issues)PHP

Since Jan 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/stechstudio/bai2)[ Packagist](https://packagist.org/packages/stechstudio/bai2)[ RSS](/packages/stechstudio-bai2/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP BAI2 Parser
===============

[](#php-bai2-parser)

Parse and consume [BAI2](https://www.bai.org/docs/default-source/libraries/site-general-downloads/cash_management_2005.pdf) data within your PHP 8 application.

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

[](#installation)

```
composer require stechstudio/bai2:@dev

```

Usage
-----

[](#usage)

See example [`bai2json`](bin/bai2json) utility included with this project for a usage example.

This example utility is by itself a handy tool when working with BAI2 files, and pairs nicely with [`jq`](https://stedolan.github.io/jq/):

```
$ composer global require stechstudio/bai2:@dev
$ bai2json some_awesome_transaction_info.bai2.txt | jq -C | less -R

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/315be5f111b5501a41b99a0205c9c85915335391168a0ed10316546a1a38bbd8?d=identicon)[jszobody](/maintainers/jszobody)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/stechstudio-bai2/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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