PHPackages                             mishannn/tinkoff-api - 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. mishannn/tinkoff-api

ActivePackage[API Development](/categories/api)

mishannn/tinkoff-api
====================

Unofficial Tinkoff API library

1.0.5(7y ago)342MITPHPPHP &gt;=5.5.0CI failing

Since Oct 7Pushed 7y ago2 watchersCompare

[ Source](https://github.com/mishannn/tinkoff-api)[ Packagist](https://packagist.org/packages/mishannn/tinkoff-api)[ RSS](/packages/mishannn-tinkoff-api/feed)WikiDiscussions master Synced 2w ago

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

Unofficial Tinkoff API
======================

[](#unofficial-tinkoff-api)

Требования
----------

[](#требования)

- PHP &gt;= 5.5.0
- GuzzleHttp

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

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

```
composer require mishannn/tinkoff-api

```

Пример использования
--------------------

[](#пример-использования)

```
require_once __DIR__ . '/vendor/autoload.php';

use mishannn\Tinkoff\TinkoffAPI;
use mishannn\Tinkoff\WaitingConfirmationException;

try {
	$params = [];

    $post = filter_input_array(INPUT_POST);
    if (!empty($post)) {
        if (is_string($post['wuid'])) {
            $params['webUserId'] = $post['wuid'];
        }

        if (is_string($post['session'])) {
            $params['sessionId'] = $post['session'];
        }
    }

    $tinkoffApi = new TinkoffAPI($params);

    if (!empty($post) && $post['sms'] === 'true') {
        $tinkoffApi->confirmBySms($post['method'], $post['ticket'], $post['code']);
        $tinkoffApi->levelUp();

        $sessionId = $tinkoffApi->getLocalSessionId();
        $webUserId = $tinkoffApi->getLocalWebUserId();

        echo "SESSION: {$sessionId}WUID: {$webUserId}";
    } else {
        $tinkoffApi->signUp(LOGIN, PASSWORD);
        $tinkoffApi->levelUp();

        $sessionId = $tinkoffApi->getLocalSessionId();
        $webUserId = $tinkoffApi->getLocalWebUserId();

        echo "SESSION: {$sessionId}WUID: {$webUserId}";
    }
} catch (WaitingConfirmationException $exception) {
    $data = $exception->getData();

    $html = ''
        . ''
        . ''
        . ''
        . ''
        . ''
        . ''
        . 'Confirm'
        . '';

    echo $html;
} catch (Exception $exception) {
    echo $exception->getMessage();
} catch (Throwable $exception) {
    echo $exception->getMessage();
}
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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

Every ~0 days

Total

5

Last Release

2823d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15077672?v=4)[Mikhail Nekrasov](/maintainers/mishannn)[@mishannn](https://github.com/mishannn)

---

Top Contributors

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

---

Tags

apitinkoff

### Embed Badge

![Health badge](/badges/mishannn-tinkoff-api/health.svg)

```
[![Health](https://phpackages.com/badges/mishannn-tinkoff-api/health.svg)](https://phpackages.com/packages/mishannn-tinkoff-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k371.6k6](/packages/theodo-group-llphant)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.5M11](/packages/checkout-checkout-sdk-php)[clicksend/clicksend-php

301.6M11](/packages/clicksend-clicksend-php)

PHPackages © 2026

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