PHPackages                             aminkt/yii2-accounting-module - 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. aminkt/yii2-accounting-module

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

aminkt/yii2-accounting-module
=============================

User accounting module for yii2

v1.0.0(8y ago)08PHP

Since Aug 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/aminkt/yii2-accounting-module)[ Packagist](https://packagist.org/packages/aminkt/yii2-accounting-module)[ RSS](/packages/aminkt-yii2-accounting-module/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

How to install this module:

Step1: First add flowing codes into project `composer.json`

```
"repositories": [
    {
        "type": "gitlab",
        "url": "https://gitlab.com/aminkt/yii2-userAccounting-module"
    }
],

```

Then add flowing line to require part of `composer.json` :

```
"aminkt/yii2-userAccounting-module": "*",

```

And after that run bellow command in your composer :

```
Composer update aminkt/yii2-userAccounting-module

```

Step2: Add flowing lines in your application admin config in module part:

```
'userAccounting' => [
    'class' => \aminkt\userAccounting\UserAccounting::className(),
    'controllerNamespace' => \aminkt\userAccounting\UserAccounting::ADMIN_CONTROLLER_NAMESPACE,
    'transactionModel' => '\your\transaction-model\class',
    'userModel' => '\your\user-model\User',
],

```

Step3: Add flowing lines in your application frontend config in module part:

```
'userAccounting' => [
    'class' => \aminkt\userAccounting\UserAccounting::className(),
    'controllerNamespace' => \aminkt\userAccounting\UserAccounting::PANEL_CONTROLLER_NAMESPACE,
    'transactionModel' => 'your\transaction-model\class',
    'userModel' => '\your\user-model\User',
],

```

Step4: Implement `aminkt\userAccounting\interfaces\TransactionInterface` into your transaction model.

Step5: Implement `aminkt\userAccounting\interfaces\UserInterface` into your User model.

> NOTE: Because every application need itself `User` model implementation so we don't create that in this module.
>
> But we created a common `Transaction` model. if you want use it just ignore step 4 and remove `transactionModel` part in module config.

---

**Database Migrations**

Before usage this extension, we'll also need to prepare the database.

```
php yii migrate --migrationPath=@vendor/aminkt/yii2-userAccounting-module/migrations

```

> NOTE: If you want use default `Transaction` table run below command to migrate it up.
>
> ```
> php yii migrate --migrationPath=@vendor/aminkt/yii2-userAccounting-module/migrations/manual-migrations
>
> ```

---

Structure of tables and classes:
--------------------------------

[](#structure-of-tables-and-classes)

[![alt text](structure.png)](structure.png)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity4

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

3192d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8bbb96d5331db7b7c0f1003fdd294ad8865fe7df33cc68bf6cf6fad5550f461e?d=identicon)[aminkt](/maintainers/aminkt)

---

Top Contributors

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

---

Tags

usermoduleyiiAccountinguser accounting

### Embed Badge

![Health badge](/badges/aminkt-yii2-accounting-module/health.svg)

```
[![Health](https://phpackages.com/badges/aminkt-yii2-accounting-module/health.svg)](https://phpackages.com/packages/aminkt-yii2-accounting-module)
```

###  Alternatives

[rmrevin/yii2-comments

Comments module for Yii2

5130.8k](/packages/rmrevin-yii2-comments)

PHPackages © 2026

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