mnwb / oauth2-mailru
Mail.ru OAuth2 Client Provider for The PHP League OAuth2-Client
v1.0.4
2026-01-12 07:45 UTC
Requires
- php: >=8.0
- league/oauth2-client: ^2.3
Requires (Dev)
- phpunit/phpunit: ^8.0 || ^9.0
This package is auto-updated.
Last update: 2026-03-12 08:18:54 UTC
README
This package provides Mail.ru integration for OAuth2 Client by the League. For more information on Mail.Ru OAuth, please refer to its documentation.
Installation
composer require mnwb/oauth2-mailru
Usage
$provider = new mnwb\OAuth2\Client\Provider\Mailru([ 'clientId' => 'de8ad9b26d4de22c3adc4d72b9bf31af', 'clientSecret' => '380c6afa85df4a7f1d40525e6be42e01', 'redirectUri' => 'https://example.com/oauth2-endpoint', ]);