PHPackages                             mestrona/mbank - 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. [Database &amp; ORM](/categories/database)
4. /
5. mestrona/mbank

ActiveProject[Database &amp; ORM](/categories/database)

mestrona/mbank
==============

Download Banking Transactions and Write them to a Database

6.0.0(3y ago)14[1 issues](https://github.com/Mestrona/mbank/issues)MITPHP

Since Dec 3Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Mestrona/mbank)[ Packagist](https://packagist.org/packages/mestrona/mbank)[ RSS](/packages/mestrona-mbank/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (1)Versions (9)Used By (0)

mBank
=====

[](#mbank)

Simple Transaction fetcher by Mestrona GbR.

Works with AqBanking to fetch bank transactions via HBCI and save them to database table.

Installation
============

[](#installation)

1. Clone the git repository
2. Install [AqBanking](https://aquamaniac.de/) for your operating system (Debian/Ubuntu: `apt install aqbanking-tools`)
3. Install composer (if not yet done)
4. run `composer install`
5. Install the database schema from `schema.sql` and `schema_update_1.sql`

Usage
=====

[](#usage)

1. Copy config/accounts.template.php to config/accounts.php and fill info (database info + account data)
2. Call `php mbank default` to fetch the recent transactions for the default account. You can configure as many accounts as you like. Call `php mbank --all` to fetch recent transaction for all configured accounts.
3. If the tan mode is wrong, you can find out the valid ones by calling `aqhbci-tool4 listitanmodes --user=1`

Debugging
=========

[](#debugging)

After initializing, try manually

```
export BIC=  # Enter bank code here
export ACCOUNT=  # Enter account code here
aqbanking-cli --acceptvalidcerts request --bank=$BIC --account=$ACCOUNT --ctxfile=.storage/aqBanking.ctx --balance --transactions
aqbanking-cli --acceptvalidcerts getaccounts--bank=$BIC --account=$ACCOUNT
aqbanking-cli --acceptvalidcerts listaccounts --bank=$BIC --account=$ACCOUNT

```

License
=======

[](#license)

MIT

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

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

Every ~324 days

Recently: every ~248 days

Total

6

Last Release

1099d ago

Major Versions

1.0.0 → 2.0.02020-08-22

2.0.0 → 3.0.02020-08-29

3.0.0 → 4.0.02020-09-12

4.0.0 → 5.0.02023-05-05

5.0.0 → 6.0.02023-05-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b8e656a0badb6595f26a2df9ab46a6cf7a08b2e92c7c9e017ed08cb8d09e0b2?d=identicon)[mestrona](/maintainers/mestrona)

---

Top Contributors

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

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/mestrona-mbank/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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