PHPackages                             nepster-web/yii2-module-perfectmoney - 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. [Payment Processing](/categories/payments)
4. /
5. nepster-web/yii2-module-perfectmoney

ActiveYii2-extension[Payment Processing](/categories/payments)

nepster-web/yii2-module-perfectmoney
====================================

Модуль для работы с платежной системой Perfect Money

v1.0.0(11y ago)2602BSD-3-ClausePHP

Since Mar 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/nepster-web/yii2-module-perfectmoney)[ Packagist](https://packagist.org/packages/nepster-web/yii2-module-perfectmoney)[ RSS](/packages/nepster-web-yii2-module-perfectmoney/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Модуль платежной системы Perfect Money для Yii2
===============================================

[](#модуль-платежной-системы-perfect-money-для-yii2)

Обеспечивает простой и расширяемый функционал для работы с платежной системой [Perfect Money](http://perfectmoney.is).

Установка
---------

[](#установка)

Предпочтительный способ установки через [composer](http://getcomposer.org/download/).

Запустите в консоле

```
php composer.phar require --prefer-dist nepster-web/yii2-module-perfectmoney "*"

```

или добавьте

```
"nepster-web/yii2-module-perfectmoney": "*"

```

в файл `composer.json` в секцию require.

Документация
------------

[](#документация)

**После того как модуль успешно установлен:**

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

```
'components' => [
    ...
    'pm' => [
        'class' => '\nepster\perfectmoney\Api',
        'accountId' => '0000000',
        'accountPassword' => '*******',
        'walletNumber' => 'U0000000',
        'merchantName' => 'Название компании',
        'alternateSecret' => 'Секретная фраза',
        'resultUrl' => ['/merchant/perfect-money/result'],
        'successUrl' => ['/merchant/perfect-money/success'],
        'failureUrl' => ['/merchant/perfect-money/failure'],
    ];
]

```

После успешной установки Вам будет доступен виджет с платежной формой, задача которого сделать автоматический редирект на сайт платежной системы:

```
return \common\modules\merchant\widgets\PmForm\RenderForm::widget([
   'api' => Yii::$app->pm,
   'invoiceId' => $invoiceId,
   'amount' => $amount,
   'description' => 'Пополнение внутреннего счета',
   'autoRedirect' => true,
]);

```

**Обратите внимание**

Редирект реализован с помощью JavaScript, поэтому если он будет выключен, то пользователю необходимо подтвердить переход нажав на кнопку.

Виджет можно реализовать подходящим для Вас способом.

Зависимости
-----------

[](#зависимости)

Текущий модуль, устанавливает следующие пакеты:

- [yii2-extensions-installer](https://github.com/nepster-web/yii2-extensions-installer)

Лицензия
--------

[](#лицензия)

Данный модуль выпущен под лицензией MIT. Подробную информацию читайте в файле [LICENSE.md](LICENSE.md).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

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

4090d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3afe1904e4ddaf0b5c2a46403167d059a74feec4a78644ba19a11eadb8f6bbe?d=identicon)[nepster-web](/maintainers/nepster-web)

---

Top Contributors

[![nepster-web](https://avatars.githubusercontent.com/u/5681979?v=4)](https://github.com/nepster-web "nepster-web (11 commits)")

---

Tags

yii2yii 2perfectmoneyperfect money

### Embed Badge

![Health badge](/badges/nepster-web-yii2-module-perfectmoney/health.svg)

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

PHPackages © 2026

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