PHPackages                             pantera-digital/yii2-user-balance - 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. pantera-digital/yii2-user-balance

ActiveYii2-extension

pantera-digital/yii2-user-balance
=================================

053PHP

Since Aug 30Pushed 6y ago2 watchersCompare

[ Source](https://github.com/pantera-digital/yii2-user-balance)[ Packagist](https://packagist.org/packages/pantera-digital/yii2-user-balance)[ RSS](/packages/pantera-digital-yii2-user-balance/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-user-balance
=================

[](#yii2-user-balance)

User balance module for Yii2 apps

Install
-------

[](#install)

Run

```
php composer require pantera-digital/yii2-user-balance "*"

```

Or add to composer.json

```
"pantera-digital/yii2-user-balance": "*",

```

and execute:

```
php composer update

```

Migrations:

```
php yii migrate --migrationPath=vendor/pantera-digital/yii2-user-balance/migrations

```

Usage
-----

[](#usage)

Add below lines to 'components' section:

```
'userBalance' => [
    'class' => \pantera\user\balance\Component::class,
    'userModel' => 'path-to-your-user-module\models\User',
],

```

And add this to 'modules' section:

```
'user-balance' => [
    'class' => \pantera\user\balance\Module::class,
    'access' => ['admin'], // by default 'access' => ['@']
]

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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://avatars.githubusercontent.com/u/642519?v=4)[Alex Kostin](/maintainers/webmayak)[@webmayak](https://github.com/webmayak)

---

Top Contributors

[![webmayak](https://avatars.githubusercontent.com/u/642519?v=4)](https://github.com/webmayak "webmayak (12 commits)")[![numkms](https://avatars.githubusercontent.com/u/22604903?v=4)](https://github.com/numkms "numkms (3 commits)")[![Singletonn](https://avatars.githubusercontent.com/u/9639275?v=4)](https://github.com/Singletonn "Singletonn (1 commits)")

### Embed Badge

![Health badge](/badges/pantera-digital-yii2-user-balance/health.svg)

```
[![Health](https://phpackages.com/badges/pantera-digital-yii2-user-balance/health.svg)](https://phpackages.com/packages/pantera-digital-yii2-user-balance)
```

PHPackages © 2026

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