initial commit

This commit is contained in:
Jack Wall
2014-12-07 23:00:39 +00:00
commit 189ffea4dd
9 changed files with 305 additions and 0 deletions

19
README.md Normal file
View 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',
]);
```