initial commit
This commit is contained in:
19
README.md
Normal file
19
README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Vkontakte OAuth2 client provider
|
||||
|
||||
This package provides [Vkontakte](https://vk.com) integration for [OAuth2 Client](https://github.com/thephpleague/oauth2-client) by the League.
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
composer require j4k/oauth2-vkontakte
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```php
|
||||
$provider = new Aego\OAuth2\Client\Provider\Vkontakte([
|
||||
'clientId' => 'b80bb7740288fda1f201890375a60c8f',
|
||||
'clientSecret' => 'f23ccd066f8236c6f97a2a62d3f9f9f5',
|
||||
'redirectUri' => 'https://example.org/oauth-endpoint',
|
||||
]);
|
||||
```
|
||||
Reference in New Issue
Block a user