jokerov / oauth2-mailru
Mail.ru OAuth2 Client Provider for The PHP League OAuth2-Client
v1.0.1
2023-05-15 12:45 UTC
Requires
- php: ^7.3 || ^8.0
- league/oauth2-client: ^2.3
Requires (Dev)
- phpunit/phpunit: ^8.0 || ^9.0
This package is auto-updated.
Last update: 2024-10-06 23:39:41 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 jokerov/oauth2-mailru
Usage
$provider = new Jokerov\OAuth2\Client\Provider\Mailru([ 'clientId' => 'de8ad9b26d4de22c3adc4d72b9bf31af', 'clientSecret' => '380c6afa85df4a7f1d40525e6be42e01', 'redirectUri' => 'https://example.com/oauth2-endpoint', ]);