PHPackages                             jokerov/oauth2-mailru - 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. jokerov/oauth2-mailru

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

jokerov/oauth2-mailru
=====================

Mail.ru OAuth2 Client Provider for The PHP League OAuth2-Client

v1.0.1(3y ago)02271MITPHPPHP ^7.3 || ^8.0

Since May 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/eugene-jokerov/oauth2-mailru)[ Packagist](https://packagist.org/packages/jokerov/oauth2-mailru)[ RSS](/packages/jokerov-oauth2-mailru/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Mail.ru OAuth2 client provider
==============================

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

[![Latest Version](https://camo.githubusercontent.com/dcbb7f137c3a37c43f77869aa7ca3eb95bf24113da15bdc747b8c3cc782f8bbb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f6b65726f762f6f61757468322d6d61696c72752e737667)](https://packagist.org/packages/jokerov/oauth2-mailru)[![License](https://camo.githubusercontent.com/7a878f3fdad454d82cad2aeeb111c46baab09e45a9a7740dd19ffd42a87a77a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6f6b65726f762f6f61757468322d6d61696c72752e737667)](https://packagist.org/packages/jokerov/oauth2-mailru)

This package provides [Mail.ru](https://oauth.mail.ru/) integration for [OAuth2 Client](https://github.com/thephpleague/oauth2-client) by the League. For more information on Mail.Ru OAuth, please refer to its [documentation](https://oauth.mail.ru/docs).

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

[](#installation)

```
composer require jokerov/oauth2-mailru
```

Usage
-----

[](#usage)

```
$provider = new Jokerov\OAuth2\Client\Provider\Mailru([
    'clientId'     => 'de8ad9b26d4de22c3adc4d72b9bf31af',
    'clientSecret' => '380c6afa85df4a7f1d40525e6be42e01',
    'redirectUri'  => 'https://example.com/oauth2-endpoint',
]);
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

2

Last Release

1138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/39dceeb82d25667181bdaca2d89804d15e496fd3c814cd798fb752cebbbe80ce?d=identicon)[jokerov](/maintainers/jokerov)

---

Top Contributors

[![eugene-jokerov](https://avatars.githubusercontent.com/u/38227697?v=4)](https://github.com/eugene-jokerov "eugene-jokerov (3 commits)")

---

Tags

clientAuthenticationoauthoauth2authorizationmailrumail ru

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jokerov-oauth2-mailru/health.svg)

```
[![Health](https://phpackages.com/badges/jokerov-oauth2-mailru/health.svg)](https://phpackages.com/packages/jokerov-oauth2-mailru)
```

###  Alternatives

[league/oauth2-google

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

42222.6M157](/packages/league-oauth2-google)[cakedc/oauth2-cognito

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

18615.2k](/packages/cakedc-oauth2-cognito)

PHPackages © 2026

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