PHPackages                             dmitrytrish/robokassa - 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. dmitrytrish/robokassa

ActiveLibrary[Payment Processing](/categories/payments)

dmitrytrish/robokassa
=====================

PHP library for Robokassa payment system

v1.0.0-beta3(11y ago)010BSD-3-ClausePHPPHP &gt;=5.4.0

Since Apr 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/DmitryTrish/robokassa)[ Packagist](https://packagist.org/packages/dmitrytrish/robokassa)[ Docs](https://github.com/idma/robokassa)[ RSS](/packages/dmitrytrish-robokassa/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

PHP library for Robokassa payment system
----------------------------------------

[](#php-library-for-robokassa-payment-system)

[![Latest Unstable Version](https://camo.githubusercontent.com/91224ef18e4cb5136b4022695e9dc370e06bf20804e19c0988ab6ae282d2c75c/68747470733a2f2f706f7365722e707567782e6f72672f69646d612f726f626f6b617373612f762f756e737461626c652e737667)](https://packagist.org/packages/idma/robokassa)[![Latest Stable Version](https://camo.githubusercontent.com/ac659ca725ed3e310a58d8b50acd18a8cddc4c519a0ff359ccb733ca537da9c1/68747470733a2f2f706f7365722e707567782e6f72672f69646d612f726f626f6b617373612f762f737461626c652e737667)](https://packagist.org/packages/idma/robokassa)[![Total Downloads](https://camo.githubusercontent.com/90a2c040e1e235458031ef93e55c4c50085b3437dcb5acd835cbd03c3ed96fdb/68747470733a2f2f706f7365722e707567782e6f72672f69646d612f726f626f6b617373612f646f776e6c6f6164732e737667)](https://packagist.org/packages/idma/robokassa)[![License](https://camo.githubusercontent.com/4a36dca69fb3395f3e8be6be700c31d2ccd10fb622e50b03226461c8f951ba36/68747470733a2f2f706f7365722e707567782e6f72672f69646d612f726f626f6b617373612f6c6963656e73652e737667)](https://packagist.org/packages/idma/robokassa)

Installation
------------

[](#installation)

Install this package through Composer. To your `composer.json` file, add:

```
{
    "require": {
        "idma/robokassa": "dev-master"
    }
}
```

Examples
--------

[](#examples)

Create payment:

```
$payment = new \Idma\Robokassa\Payment(
    'john_doe', 'password1', 'password2', true
);

$payment
    ->setInvoiceId($order->id)
    ->setSum($order->amount)
    ->setDescription('Payment for some goods');

// redirect to payment url
$user->redirect($payment->getPaymentUrl());
```

Check payment result:

```
// somewere in result url handler...
...
$payment = new \Idma\Robokassa\Payment(
    'john_doe', 'password1', 'password2', true
);

if ($payment->validateResult($_GET) {
    $order = Orders::find($payment->getInvoiceId());

    if ($payment->getSum() == $order->sum) {

    }

    // send answer
    echo $payment->getSuccessAnswer(); // "OK1254487\n"
}
...
```

Check payment on Success page:

```
...
$payment = new \Idma\Robokassa\Payment(
    'john_doe', 'password1', 'password2', true
);

if ($payment->validateSuccess($_GET) {
    $order = Orders::find($payment->getInvoiceId());

    if ($payment->getSum() == $order->sum) {
        // payment is valid
    }

}
...
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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 ~0 days

Total

3

Last Release

4099d ago

### Community

Maintainers

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

---

Top Contributors

[![jhaoda](https://avatars.githubusercontent.com/u/2151259?v=4)](https://github.com/jhaoda "jhaoda (11 commits)")[![DmitryTrish](https://avatars.githubusercontent.com/u/1653423?v=4)](https://github.com/DmitryTrish "DmitryTrish (2 commits)")

---

Tags

paymentrobokassaidma

### Embed Badge

![Health badge](/badges/dmitrytrish-robokassa/health.svg)

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

###  Alternatives

[idma/robokassa

PHP library for Robokassa payment system

4534.1k1](/packages/idma-robokassa)[lexty/robokassa

PHP library for Robokassa payment system

1337.5k](/packages/lexty-robokassa)[hiqdev/omnipay-robokassa

RoboKassa driver for Omnipay PHP payment library

1059.2k3](/packages/hiqdev-omnipay-robokassa)[robokassa/sdk-php

SDK для работы с Robokassa в PHP

1111.7k](/packages/robokassa-sdk-php)[karser/robokassa-bundle

Bundle allows you to accept Robokassa payments

162.6k](/packages/karser-robokassa-bundle)[unetway/laravel-robokassa

Пакет для работы с Робокассой в Laravel

121.6k](/packages/unetway-laravel-robokassa)

PHPackages © 2026

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