PHPackages                             steroids/payment - 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. steroids/payment

ActiveLibrary[Payment Processing](/categories/payments)

steroids/payment
================

2.0.0-beta.79(4y ago)0338MITPHPPHP &gt;=7.4

Since Oct 8Pushed 4y ago2 watchersCompare

[ Source](https://github.com/steroids/payment)[ Packagist](https://packagist.org/packages/steroids/payment)[ RSS](/packages/steroids-payment/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (83)Used By (0)

Payment
=======

[](#payment)

Модуль оплаты через платежные системы

### Пополнение счета в биллинге

[](#пополнение-счета-в-биллинге)

```
$account = \steroids\billing\models\BillingAccount::findOrCreate('main', 'usd', $userId);
$method = \steroids\payment\models\PaymentMethod::getByName('mymethod');
$order = $method->createOrder($userId, $account->currency->code, 10000, [
    'description' => 'Пополнение счета',
]);
$order->addOperation(new PaymentChargeOperation([
    'fromAccount' => $method->systemAccount,
    'toAccount' => $account,
    'amount' => 10000,
    'document' => $order,
]));

$process = $order->start(\steroids\core\structure\RequestInfo::createFromYii());

// URL для переадресации пользователя
$url = (string)$process->request;
```

### Оплата товара (без биллинга)

[](#оплата-товара-без-биллинга)

```
$order = \steroids\payment\models\PaymentMethod::getByName('mymethod')
    ->createOrder($userId, 'usd', 5000, [
        'description' => 'Оплата ЛК на месяц (50$)',
    ])
    ->addOperation(new AccountPaymentOperation([
        // Документ будет создан в БД, когда платеж будет выполнен
        'document' => [
            'period' => 'month',
            'userId' => $userId,
        ],
]));

$process = $order->start(\steroids\core\structure\RequestInfo::createFromYii());

// URL для переадресации пользователя
$url = (string)$process->request;
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.1% 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 ~6 days

Recently: every ~11 days

Total

79

Last Release

1581d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1cfc326ea000eaf99fed79bb85a9acb8396f1aabd368e8d09b517780916a331?d=identicon)[kozhindev](/maintainers/kozhindev)

---

Top Contributors

[![Syomx1](https://avatars.githubusercontent.com/u/26322293?v=4)](https://github.com/Syomx1 "Syomx1 (49 commits)")[![perlexed](https://avatars.githubusercontent.com/u/1930759?v=4)](https://github.com/perlexed "perlexed (17 commits)")[![z0rnord](https://avatars.githubusercontent.com/u/36837555?v=4)](https://github.com/z0rnord "z0rnord (5 commits)")[![affka](https://avatars.githubusercontent.com/u/2149317?v=4)](https://github.com/affka "affka (2 commits)")

### Embed Badge

![Health badge](/badges/steroids-payment/health.svg)

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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