PHPackages                             sergey-sla/oauth2-odnoklassniki - 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. sergey-sla/oauth2-odnoklassniki

ActiveLibrary

sergey-sla/oauth2-odnoklassniki
===============================

Odnoklassniki provider for league/oauth2-client

0.4(9y ago)079MITPHPPHP ~5.4

Since Nov 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sergey-sla/oauth2-odnoklassniki)[ Packagist](https://packagist.org/packages/sergey-sla/oauth2-odnoklassniki)[ RSS](/packages/sergey-sla-oauth2-odnoklassniki/feed)WikiDiscussions master Synced 2mo ago

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

Odnoklassniki OAuth2 client provider
====================================

[](#odnoklassniki-oauth2-client-provider)

[![Build Status](https://camo.githubusercontent.com/5eb9cb0173229413eb8378f3827b66d48fab478d9bd14cc9be76defe3b156cf0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72616b6565762f6f61757468322d6f646e6f6b6c6173736e696b692e737667)](https://travis-ci.org/rakeev/oauth2-odnoklassniki)[![Latest Version](https://camo.githubusercontent.com/a26dd178f39717b1efedf4c8d21aeb227ff01cca584b7b8591f0a35cf8eaf302/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6165676f2f6f61757468322d6f646e6f6b6c6173736e696b692e737667)](https://packagist.org/packages/aego/oauth2-odnoklassniki)[![License](https://camo.githubusercontent.com/25c29d5abf2908cb08d3614df44e981aabb16fb659695b25223510a299010f20/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6165676f2f6f61757468322d6f646e6f6b6c6173736e696b692e737667)](https://packagist.org/packages/aego/oauth2-odnoklassniki)

This package provides [Odnoklassniki](http://ok.ru) integration for [OAuth2 Client](https://github.com/thephpleague/oauth2-client) by the League.

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

[](#installation)

```
composer require sergey-sla/oauth2-odnoklassniki
```

Usage
-----

[](#usage)

```
$provider = new Aego\OAuth2\Client\Provider\Odnoklassniki([
    'clientId' => '1234567890',
    'clientPublic' => 'BA57A2DACCE55C0DE',
    'clientSecret' => '5ADC0DE2ADD1C7ED70C0FFEE',
    'redirectUri' => 'https://example.org/oauth-endpoint',
]);
```

Please pay attention to additional *clientPublic* parameter — provider requires both numeric and symbolic application IDs.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~268 days

Total

3

Last Release

3647d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41754dca26c78e079d74e75bcdbcd879e9218f1a5716aa2bb986af84fe8a2a02?d=identicon)[sergey-sla](/maintainers/sergey-sla)

---

Top Contributors

[![sergey-sla](https://avatars.githubusercontent.com/u/4974208?v=4)](https://github.com/sergey-sla "sergey-sla (7 commits)")[![rakeev](https://avatars.githubusercontent.com/u/1861570?v=4)](https://github.com/rakeev "rakeev (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sergey-sla-oauth2-odnoklassniki/health.svg)

```
[![Health](https://phpackages.com/badges/sergey-sla-oauth2-odnoklassniki/health.svg)](https://phpackages.com/packages/sergey-sla-oauth2-odnoklassniki)
```

###  Alternatives

[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)

PHPackages © 2026

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