PHPackages                             kotchuprik/yii2-odnoklassniki-authclient - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. kotchuprik/yii2-odnoklassniki-authclient

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

kotchuprik/yii2-odnoklassniki-authclient
========================================

v1.2.4(7y ago)1394.2k↓39.3%11[2 PRs](https://github.com/kotchuprik/yii2-odnoklassniki-authclient/pulls)MITPHP

Since Jul 16Pushed 7y ago3 watchersCompare

[ Source](https://github.com/kotchuprik/yii2-odnoklassniki-authclient)[ Packagist](https://packagist.org/packages/kotchuprik/yii2-odnoklassniki-authclient)[ RSS](/packages/kotchuprik-yii2-odnoklassniki-authclient/feed)WikiDiscussions master Synced 1mo ago

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

yii2-odnoklassiniki-authclient
==============================

[](#yii2-odnoklassiniki-authclient)

This extension adds Odnoklassniki OAuth2 supporting for [yii2-authclient](https://github.com/yiisoft/yii2-authclient).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist kotchuprik/yii2-odnoklassniki-authclient "*"

```

or add

```
"kotchuprik/yii2-odnoklassniki-authclient": "*"
```

to the `require` section of your composer.json.

Usage
-----

[](#usage)

You must read the yii2-authclient [docs](https://github.com/yiisoft/yii2/blob/master/docs/guide/security-auth-clients.md)

Register your application [in Odnoklassniki](https://apiok.ru/wiki/pages/viewpage.action?pageId=42476486)

and add the Odnoklassniki client to your auth clients.

```
'components' => [
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'odnoklassniki' => [
                'class' => 'kotchuprik\authclient\Odnoklassniki',
                    'applicationKey' => 'odnoklassniki_app_public_key',
                    'clientId' => 'odnoklassniki_app_id',
                    'clientSecret' => 'odnoklassniki_client_secret',
                ],
            ],
            // other clients
        ],
    ],
    // ...
 ]
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 56% 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 ~181 days

Recently: every ~218 days

Total

8

Last Release

2691d ago

### Community

Maintainers

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

---

Top Contributors

[![chuprik](https://avatars.githubusercontent.com/u/802946?v=4)](https://github.com/chuprik "chuprik (14 commits)")[![crocone](https://avatars.githubusercontent.com/u/43406446?v=4)](https://github.com/crocone "crocone (5 commits)")[![kriptograf](https://avatars.githubusercontent.com/u/2950209?v=4)](https://github.com/kriptograf "kriptograf (2 commits)")[![yumgame](https://avatars.githubusercontent.com/u/90189506?v=4)](https://github.com/yumgame "yumgame (1 commits)")[![KhristenkoYura](https://avatars.githubusercontent.com/u/570035?v=4)](https://github.com/KhristenkoYura "KhristenkoYura (1 commits)")[![frostealth](https://avatars.githubusercontent.com/u/1785217?v=4)](https://github.com/frostealth "frostealth (1 commits)")[![m1roff](https://avatars.githubusercontent.com/u/2736223?v=4)](https://github.com/m1roff "m1roff (1 commits)")

### Embed Badge

![Health badge](/badges/kotchuprik-yii2-odnoklassniki-authclient/health.svg)

```
[![Health](https://phpackages.com/badges/kotchuprik-yii2-odnoklassniki-authclient/health.svg)](https://phpackages.com/packages/kotchuprik-yii2-odnoklassniki-authclient)
```

###  Alternatives

[2amigos/yii2-usuario

Highly customizable and extensible user management, authentication, and authorization Yii2 extension

298275.5k14](/packages/2amigos-yii2-usuario)[amnah/yii2-user

Yii 2 user authentication module

252225.7k3](/packages/amnah-yii2-user)[xj/yii2-oauth

yii2-oauth

10927.8k1](/packages/xj-yii2-oauth)[kotchuprik/yii2-instagram-authclient

Instagram extenion for using via yii2-authclient

2048.5k](/packages/kotchuprik-yii2-instagram-authclient)[budyaga/yii2-users

Module for manage users and their rights with the support of registration through social services and assigned to each user more than one social service.

409.1k](/packages/budyaga-yii2-users)

PHPackages © 2026

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