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

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

mnwb/oauth2-mailru
==================

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

v1.0.4(4mo ago)02MITPHPPHP &gt;=8.0

Since Jan 12Pushed 4mo agoCompare

[ Source](https://github.com/mnwb-fh/oauth2-mailru)[ Packagist](https://packagist.org/packages/mnwb/oauth2-mailru)[ RSS](/packages/mnwb-oauth2-mailru/feed)WikiDiscussions master Synced 1mo ago

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

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

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

[![Latest Version](https://camo.githubusercontent.com/d76d0516c44060c609cb9ab27d1ceea66bdc5958742d79929c8f5ceedcd15042/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6e77622f6f61757468322d6d61696c72752e737667)](https://packagist.org/packages/mnwb/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 mnwb/oauth2-mailru
```

Usage
-----

[](#usage)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance77

Regular maintenance activity

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.6% 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

Unknown

Total

1

Last Release

126d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f6b0b90818e4dfe3d23d2de0c4dde24c3d1d4f86015debee5635871cd0254f4?d=identicon)[mnwb-fh](/maintainers/mnwb-fh)

---

Top Contributors

[![mnwb-fh](https://avatars.githubusercontent.com/u/238841458?v=4)](https://github.com/mnwb-fh "mnwb-fh (11 commits)")[![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/mnwb-oauth2-mailru/health.svg)

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

###  Alternatives

[league/oauth2-google

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

42121.2M118](/packages/league-oauth2-google)[cakedc/oauth2-cognito

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

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

PHPackages © 2026

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