This package provides Mail.ru integration for OAuth2 Client by the League. For more information on Mail.Ru OAuth, please refer to its documentation.
composer require jokerov/oauth2-mailru
$provider = new Jokerov\OAuth2\Client\Provider\Mailru([
'clientId' => 'de8ad9b26d4de22c3adc4d72b9bf31af',
'clientSecret' => '380c6afa85df4a7f1d40525e6be42e01',
'redirectUri' => 'https://example.com/oauth2-endpoint',
]);