This commit is contained in:
2024-05-30 13:28:19 +03:00
parent b6a517e96a
commit e2f0027a82
2 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "j4k/oauth2-vkontakte",
"description": "Vkontakte provider for league/oauth2-client",
"description": "VK provider for league/oauth2-client",
"keywords": [
"league",
"package"
@@ -8,17 +8,17 @@
"license": "MIT",
"authors": [
{
"name": "Jack Wall",
"email": "jw@jack.gd"
"name": "September First",
"email": "info@1sept.ru"
}
],
"require": {
"php" : ">=5.6",
"php" : ">=8.1",
"league/oauth2-client": "^2.0"
},
"require-dev": {
"phpunit/phpunit" : "~4.6",
"mockery/mockery": "~0.9"
"phpunit/phpunit" : "^11.0",
"mockery/mockery": "~1.6"
},
"autoload": {
"psr-4": {

View File

@@ -11,7 +11,7 @@ class Vkontakte extends AbstractProvider
{
protected $baseOAuthUri = 'https://oauth.vk.com';
protected $baseUri = 'https://api.vk.com/method';
protected $version = '5.52';
protected $version = '5.236';
protected $language = null;
/**
@@ -20,8 +20,8 @@ class Vkontakte extends AbstractProvider
*/
public $scopes = [
'email',
'friends',
'offline',
// 'friends',
// 'offline',
//'photos',
//'wall',
//'ads',