PHPackages                             mdeskorg/ok-php-sdk - 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. mdeskorg/ok-php-sdk

ActiveLibrary

mdeskorg/ok-php-sdk
===================

Odnoklassniki Php sdk

1.6(2y ago)030PHPPHP ^8.1

Since Sep 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mdeskorg/ok-php-sdk)[ Packagist](https://packagist.org/packages/mdeskorg/ok-php-sdk)[ RSS](/packages/mdeskorg-ok-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

Odnoklassniki Php sdk
=====================

[](#odnoklassniki-php-sdk)

API PHP для "Одноклассники" по работе с группами и пользователями

### Пример получения данных о пользователе.

[](#пример-получения-данных-о-пользователе)

```
        $appKey = '***';
        $sessionKey = '***';
        $sessionSecretKey = '***';
        $client = new OkClient($appKey, $sessionKey, $sessionSecretKey);
        $userId = '***'
        return $client->getUserInfo($userId);

//        array:1 [▼
//          0 => array:4 [▼
//              "uid" => "583933080208"
//              "first_name" => "Dymok"
//              "last_name" => "Dymokhodov"
//              "pic_full" => "https://i.mycdn.me/i?r=A0E2egivtM5K0QtANiL-Q08jCdFW-4UxdccMIMHC0dQOSA9xMkabEL003Q-moyPajkhPu_kFbvzHXO2hebzDxCqE"
//              ]
//          ]

```

### Пример отправки сообщения.

[](#пример-отправки-сообщения)

```
        $chatId = '***';
        $message = 'Тестовое сообщение';
        $token = '***';
        $images = [
            'https://st.mycdn.me/res/i/ok_logo.png',
            'https://st.mycdn.me/res/i/ok_logo.png'
        ];
        $client = new OkChatsClient($token);
        return $client->sendMessage($chatId, $message, $images);

//      array:3 [▼
//          "success" => true
//          "recipient_id" => "chat:C64f8bc880000"
//          "message_id" => "mid:C64f8bc880000.18a753095991615"
//      ]

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~17 days

Recently: every ~1 days

Total

7

Last Release

875d ago

### Community

Maintainers

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

---

Top Contributors

[![mdeskorg](https://avatars.githubusercontent.com/u/115094479?v=4)](https://github.com/mdeskorg "mdeskorg (10 commits)")[![vagonustoev](https://avatars.githubusercontent.com/u/107072042?v=4)](https://github.com/vagonustoev "vagonustoev (5 commits)")

### Embed Badge

![Health badge](/badges/mdeskorg-ok-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/mdeskorg-ok-php-sdk/health.svg)](https://phpackages.com/packages/mdeskorg-ok-php-sdk)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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