PHPackages                             lamp-of-god/sberbank-processing - 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. [API Development](/categories/api)
4. /
5. lamp-of-god/sberbank-processing

ActiveLibrary[API Development](/categories/api)

lamp-of-god/sberbank-processing
===============================

Utility to work with Sberbank API

v1.0.0(9y ago)051WTFPLPHP

Since Apr 25Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lamp-of-god/sberbank-processing)[ Packagist](https://packagist.org/packages/lamp-of-god/sberbank-processing)[ RSS](/packages/lamp-of-god-sberbank-processing/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Sberbank processing library
===========================

[](#sberbank-processing-library)

Overview
--------

[](#overview)

Very simple small utility to work with Sberbank API.

It supports one-stage payment for russian rubles orders.

How to use
----------

[](#how-to-use)

1. Instantiate client:

    ```
     $client = new SberbankClient('username', 'password');

    ```
2. Register your order in Sberbank processing system:

    ```
     list($sberOrderID, $formURL) = $client->registerOrder(
         $order_id, $amount, 'http://return_url'
     );

    ```
3. Redirect user to the payment page (url received on previous step)
4. Check order status on callback page (specified on previous step):

    ```
     try {
         $status = $this->client->getOrderStatus($sber_id);
     } catch(\RuntimeException $e) {
         ...
         $status = IOrderStatus::FAILED;
     }

    ```

Note that situation when payment was rejected (for example by 3D secure) counts as error, so library throws an exception like as for any other error. You may add additional check for exception reason by using exception code.

5. Do something depend on status:

    ```
     switch($status) {
     case IOrderStatus::COMPLETED:
     ...
     case IOrderStatus::FAILED:
     ...
     }

    ```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

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

3353d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44000f320c986046a37749a77e512384272f52fc03af75501f90b2fb302bfb9d?d=identicon)[SeRRgIO323](/maintainers/SeRRgIO323)

---

Top Contributors

[![lamp-of-god](https://avatars.githubusercontent.com/u/12278034?v=4)](https://github.com/lamp-of-god "lamp-of-god (18 commits)")

### Embed Badge

![Health badge](/badges/lamp-of-god-sberbank-processing/health.svg)

```
[![Health](https://phpackages.com/badges/lamp-of-god-sberbank-processing/health.svg)](https://phpackages.com/packages/lamp-of-god-sberbank-processing)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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