mnwb / oauth2-mailru
Mail.ru OAuth2 Client Provider for The PHP League OAuth2-Client
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
pkg:composer/mnwb/oauth2-mailru
Requires
- php: >=8.0
- league/oauth2-client: ^2.3
Requires (Dev)
- phpunit/phpunit: ^8.0 || ^9.0
This package is auto-updated.
Last update: 2025-10-19 10:29:50 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', ]);