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)340MITPHPPHP &gt;=5.5.0

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 yesterday

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 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

2775d 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

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[justcommunication-ru/tinkoff-acquiring-api-client

Tinkoff Acquiring API PHP Client

102.5k](/packages/justcommunication-ru-tinkoff-acquiring-api-client)

PHPackages © 2026

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