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

ActiveLibrary[Payment Processing](/categories/payments)

johndoejdg/robokassa
====================

PHP library for Robokassa payment system

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

Since Apr 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/johndoejdg/robokassa)[ Packagist](https://packagist.org/packages/johndoejdg/robokassa)[ Docs](https://github.com/idma/robokassa)[ RSS](/packages/johndoejdg-robokassa/feed)WikiDiscussions master Synced 3d ago

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": {
        "johndoejdg/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

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Every ~0 days

Total

3

Last Release

4104d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

paymentrobokassaidma

### Embed Badge

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

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

###  Alternatives

[idma/robokassa

PHP library for Robokassa payment system

4534.2k1](/packages/idma-robokassa)[hiqdev/omnipay-robokassa

RoboKassa driver for Omnipay PHP payment library

1160.2k3](/packages/hiqdev-omnipay-robokassa)[lexty/robokassa

PHP library for Robokassa payment system

1338.9k](/packages/lexty-robokassa)[robokassa/sdk-php

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

1213.1k](/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)
