PHPackages                             halumein/yii2-spending - 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. halumein/yii2-spending

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

halumein/yii2-spending
======================

Spending module

0170PHP

Since Mar 1Pushed 9y ago3 watchersCompare

[ Source](https://github.com/halumein/yii2-spending)[ Packagist](https://packagist.org/packages/halumein/yii2-spending)[ RSS](/packages/halumein-yii2-spending/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2-spending
=============

[](#yii2-spending)

Модуль учта затрат

```
php composer require halumein/yii2-spending "*"

```

миграция:

```
php yii migrate --migrationPath=vendor/halumein/yii2-spending/migrations

```

В конфигурационный файл приложения добавить модуль test

```
    'modules' => [
        'spending' => [
            'class' => 'halumein\spending\Module',
            'userModel' => 'app\models\User',
            'adminRoles' => ['superadmin', 'administrator'],
            'on create' => function($event) {
                \Yii::$app->cashbox->addTransaction('outcome', $event->model->cost, $event->model->cashbox_id);
            },
        ],
        //...
    ]
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52% 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/ca61f99bdb01eb0f458944223a12e55575f73c4ffc6965259e2b96a8bbc26cee?d=identicon)[halumein](/maintainers/halumein)

---

Top Contributors

[![halumein](https://avatars.githubusercontent.com/u/5361342?v=4)](https://github.com/halumein "halumein (13 commits)")[![pistol88](https://avatars.githubusercontent.com/u/8104605?v=4)](https://github.com/pistol88 "pistol88 (6 commits)")[![slam-mt](https://avatars.githubusercontent.com/u/20283374?v=4)](https://github.com/slam-mt "slam-mt (6 commits)")

### Embed Badge

![Health badge](/badges/halumein-yii2-spending/health.svg)

```
[![Health](https://phpackages.com/badges/halumein-yii2-spending/health.svg)](https://phpackages.com/packages/halumein-yii2-spending)
```

###  Alternatives

[inspheric/nova-indicator-field

A Laravel Nova indicator field.

128993.2k1](/packages/inspheric-nova-indicator-field)[awcodes/filament-versions

A mostly useless package to display framework versions at the bottom of the navigation panel.

4475.0k8](/packages/awcodes-filament-versions)[contao/easy-coding-standard

EasyCodingStandard configurations for Contao

12221.3k328](/packages/contao-easy-coding-standard)

PHPackages © 2026

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