├── LICENSE ├── README.md ├── composer.json ├── examples └── oauth │ ├── group.php │ └── user.php ├── phpunit.xml └── src └── VK ├── Actions ├── Account.php ├── Ads.php ├── AppWidgets.php ├── Apps.php ├── Auth.php ├── Board.php ├── Bugtracker.php ├── Calls.php ├── Database.php ├── Docs.php ├── Donut.php ├── DownloadedGames.php ├── Execute.php ├── Fave.php ├── Friends.php ├── Gifts.php ├── Groups.php ├── LeadForms.php ├── Likes.php ├── Market.php ├── Messages.php ├── Newsfeed.php ├── Notes.php ├── Notifications.php ├── Orders.php ├── Pages.php ├── Photos.php ├── Podcasts.php ├── Polls.php ├── PrettyCards.php ├── Search.php ├── Secure.php ├── Stats.php ├── Status.php ├── Storage.php ├── Store.php ├── Stories.php ├── Streaming.php ├── Translations.php ├── Users.php ├── Utils.php ├── Video.php ├── Wall.php └── Widgets.php ├── CallbackApi ├── VKCallbackApiHandler.php ├── VKCallbackApiLongPollExecutor.php └── VKCallbackApiServerHandler.php ├── Client ├── Actions │ └── ActionInterface.php ├── Enums │ └── VKLanguage.php ├── VKApiClient.php ├── VKApiError.php └── VKApiRequest.php ├── Enums ├── AccountGetBannedFields.php ├── AccountGetCountersFilter.php ├── AccountGetInfoFields.php ├── AccountSaveProfileInfoBdateVisibility.php ├── AccountSaveProfileInfoRelation.php ├── AccountSaveProfileInfoSex.php ├── AccountSetInfoName.php ├── AdsCheckLinkLinkType.php ├── AdsGetCampaignsFields.php ├── AdsGetDemographicsIdsType.php ├── AdsGetDemographicsPeriod.php ├── AdsGetPostsReachIdsType.php ├── AdsGetStatisticsIdsType.php ├── AdsGetStatisticsPeriod.php ├── AdsGetStatisticsStatsFields.php ├── AdsGetSuggestionsSection.php ├── AdsGetTargetingStatsAdFormat.php ├── AdsGetUploadURLAdFormat.php ├── AppWidgetsGetAppImageUploadServerImageType.php ├── AppWidgetsGetAppImagesImageType.php ├── AppWidgetsGetGroupImageUploadServerImageType.php ├── AppWidgetsGetGroupImagesImageType.php ├── AppWidgetsUpdateType.php ├── AppsAddSnippetButton.php ├── AppsAddSnippetVkRef.php ├── AppsGetAppFields.php ├── AppsGetCatalogFields.php ├── AppsGetCatalogFilter.php ├── AppsGetCatalogSort.php ├── AppsGetFields.php ├── AppsGetFriendsListFields.php ├── AppsGetFriendsListType.php ├── AppsGetLeaderboardType.php ├── AppsGetPlatform.php ├── AppsGetScopesType.php ├── AppsSendRequestType.php ├── AppsUpdateMetaForTestingGroupPlatforms.php ├── Base │ └── NameCase.php ├── BaseLang.php ├── BoardGetCommentsSort.php ├── BoardGetTopicsOrder.php ├── BoardGetTopicsPreview.php ├── BugtrackerGetBugreportByIdFields.php ├── BugtrackerGetCompanyGroupMembersFields.php ├── BugtrackerGetCompanyMembersFields.php ├── BugtrackerGetCompanyMembersFilterRole.php ├── BugtrackerSetCompanyMemberRoleRole.php ├── DocsGetMessagesUploadServerType.php ├── DocsGetType.php ├── DonutGetSubscriptionsFields.php ├── FaveAddTagPosition.php ├── FaveGetFields.php ├── FaveGetItemType.php ├── FaveGetPagesFields.php ├── FaveGetPagesType.php ├── FaveSetTagsItemType.php ├── FriendsGetFields.php ├── FriendsGetOrder.php ├── FriendsGetRequestsFields.php ├── FriendsGetRequestsSort.php ├── FriendsGetSuggestionsFields.php ├── FriendsGetSuggestionsFilter.php ├── FriendsSearchFields.php ├── Groups │ ├── AddressWorkInfoStatus.php │ ├── GroupAccess.php │ ├── GroupAgeLimits.php │ ├── GroupAudio.php │ ├── GroupDocs.php │ ├── GroupMarketCurrency.php │ ├── GroupPhotos.php │ ├── GroupRole.php │ ├── GroupSubject.php │ ├── GroupTopics.php │ ├── GroupVideo.php │ ├── GroupWall.php │ ├── GroupWiki.php │ └── MarketState.php ├── GroupsCreateSubtype.php ├── GroupsCreateType.php ├── GroupsGetAddressesFields.php ├── GroupsGetBannedFields.php ├── GroupsGetByIdFields.php ├── GroupsGetFields.php ├── GroupsGetFilter.php ├── GroupsGetInvitedUsersFields.php ├── GroupsGetMembersFields.php ├── GroupsGetMembersFilter.php ├── GroupsGetMembersSort.php ├── GroupsGetRequestsFields.php ├── GroupsSearchSort.php ├── GroupsSearchType.php ├── GroupsTagAddTagColor.php ├── GroupsTagBindAct.php ├── LikesGetListFilter.php ├── LikesGetListFriendsOnly.php ├── LikesType.php ├── MarketEditOrderPaymentStatus.php ├── MarketGetCommentsFields.php ├── MarketGetCommentsSort.php ├── MarketReportCommentReason.php ├── MarketReportReason.php ├── MarketSearchItemsBasicSortBy.php ├── MarketSearchItemsBasicSortDirection.php ├── MarketSearchItemsSortBy.php ├── MarketSearchItemsSortDirection.php ├── MarketSearchRev.php ├── MarketSearchSort.php ├── MessagesGetByConversationMessageIdFields.php ├── MessagesGetByIdFields.php ├── MessagesGetChatFields.php ├── MessagesGetChatPreviewFields.php ├── MessagesGetConversationMembersFields.php ├── MessagesGetConversationsByIdFields.php ├── MessagesGetConversationsFields.php ├── MessagesGetConversationsFilter.php ├── MessagesGetHistoryAttachmentsAttachmentTypes.php ├── MessagesGetHistoryAttachmentsFields.php ├── MessagesGetHistoryAttachmentsMediaType.php ├── MessagesGetHistoryFields.php ├── MessagesGetHistoryRev.php ├── MessagesGetImportantMessagesFields.php ├── MessagesGetIntentUsersIntent.php ├── MessagesGetLongPollHistoryFields.php ├── MessagesMuteChatMentionsMentionStatus.php ├── MessagesSearchConversationsFields.php ├── MessagesSendIntent.php ├── MessagesSetActivityType.php ├── Newsfeed │ └── IgnoreItemType.php ├── NewsfeedGetBannedFields.php ├── NewsfeedGetCommentsFields.php ├── NewsfeedGetCommentsFilters.php ├── NewsfeedGetFields.php ├── NewsfeedGetFilters.php ├── NewsfeedGetRecommendedFields.php ├── NewsfeedGetSuggestedSourcesFields.php ├── NewsfeedSearchFields.php ├── NewsfeedUnsubscribeType.php ├── NotesGetCommentsSort.php ├── NotesGetSort.php ├── NotificationsGetFilters.php ├── NotificationsSendMessageSendingMode.php ├── OrdersChangeStateAction.php ├── PagesSaveAccessEdit.php ├── PagesSaveAccessView.php ├── PhotosGetCommentsFields.php ├── PhotosGetCommentsSort.php ├── PhotosReportCommentReason.php ├── PhotosReportReason.php ├── PollsCreateBackgroundId.php ├── PollsEditBackgroundId.php ├── PollsGetVotersFields.php ├── StatsGetInterval.php ├── StatsTrackVisitorType.php ├── Stories │ └── UploadLinkText.php ├── StoriesGetBannedFields.php ├── StoriesGetByIdFields.php ├── StoriesGetFields.php ├── StoriesGetRepliesFields.php ├── StoriesGetViewersFields.php ├── StoriesSaveFields.php ├── StoriesSearchFields.php ├── StreamingGetStatsInterval.php ├── StreamingGetStatsType.php ├── UsersGetFields.php ├── UsersGetFollowersFields.php ├── UsersGetSubscriptionsFields.php ├── UsersReportType.php ├── UsersSearchFields.php ├── UsersSearchSex.php ├── UsersSearchSort.php ├── UsersSearchStatus.php ├── UtilsGetLinkStatsInterval.php ├── UtilsGetLinkStatsSource.php ├── VideoAddAlbumPrivacy.php ├── VideoEditAlbumPrivacy.php ├── VideoGetCommentsSort.php ├── VideoGetSortAlbum.php ├── VideoReportCommentReason.php ├── VideoReportReason.php ├── VideoSearchFilters.php ├── VideoSearchSort.php ├── Wall │ └── GetFilter.php ├── WallEditTopicId.php ├── WallGetByIdFields.php ├── WallGetCommentFields.php ├── WallGetCommentsFields.php ├── WallGetCommentsSort.php ├── WallGetFields.php ├── WallReportCommentReason.php ├── WallReportPostReason.php ├── WallSearchFields.php └── WidgetsGetCommentsFields.php ├── Exceptions ├── Api │ ├── ExceptionMapper.php │ ├── VKApiAccessAlbumException.php │ ├── VKApiAccessAudioException.php │ ├── VKApiAccessCommentException.php │ ├── VKApiAccessException.php │ ├── VKApiAccessGroupException.php │ ├── VKApiAccessGroupsException.php │ ├── VKApiAccessMarketException.php │ ├── VKApiAccessNoteCommentException.php │ ├── VKApiAccessNoteException.php │ ├── VKApiAccessPageException.php │ ├── VKApiAccessVideoException.php │ ├── VKApiActionFailedException.php │ ├── VKApiAdditionalSignupRequiredException.php │ ├── VKApiAdsLookalikeRequestAlreadyInProgressException.php │ ├── VKApiAdsLookalikeRequestAudienceTooLargeException.php │ ├── VKApiAdsLookalikeRequestAudienceTooSmallException.php │ ├── VKApiAdsLookalikeRequestExportAlreadyInProgressException.php │ ├── VKApiAdsLookalikeRequestExportMaxCountPerDayReachedException.php │ ├── VKApiAdsLookalikeRequestExportRetargetingGroupLimitException.php │ ├── VKApiAdsLookalikeRequestMaxCountPerDayReachedException.php │ ├── VKApiAdsObjectDeletedException.php │ ├── VKApiAdsPartialSuccessException.php │ ├── VKApiAdsPermissionException.php │ ├── VKApiAdsSpecificException.php │ ├── VKApiAlbumFullException.php │ ├── VKApiAlbumsLimitException.php │ ├── VKApiAppAuthException.php │ ├── VKApiAppsAlreadyUnlockedException.php │ ├── VKApiAppsEmptyFilterParamsException.php │ ├── VKApiAppsEmptySnippetDataException.php │ ├── VKApiAppsNotFoundSnippetException.php │ ├── VKApiAppsSubscriptionInvalidStatusException.php │ ├── VKApiAppsSubscriptionNotFoundException.php │ ├── VKApiAppsTooManySnippetsException.php │ ├── VKApiAssertVotesException.php │ ├── VKApiAuthAccessTokenHasExpiredException.php │ ├── VKApiAuthAnonymousTokenHasExpiredException.php │ ├── VKApiAuthAnonymousTokenIpMismatchException.php │ ├── VKApiAuthAnonymousTokenIsInvalidException.php │ ├── VKApiAuthException.php │ ├── VKApiAuthFloodException.php │ ├── VKApiAuthHttpsException.php │ ├── VKApiAuthValidationException.php │ ├── VKApiBlockedException.php │ ├── VKApiCallbackApiServersLimitException.php │ ├── VKApiCaptchaException.php │ ├── VKApiClientUpdateNeededException.php │ ├── VKApiClientVersionDeprecatedException.php │ ├── VKApiCompileException.php │ ├── VKApiCuaConfirmationRequiredException.php │ ├── VKApiDisabledException.php │ ├── VKApiEmailConfirmationNeedException.php │ ├── VKApiEnabledInTestException.php │ ├── VKApiFaveAliexpressTagException.php │ ├── VKApiFloodException.php │ ├── VKApiFriendsAddEnemyException.php │ ├── VKApiFriendsAddInEnemyException.php │ ├── VKApiFriendsAddNotFoundException.php │ ├── VKApiFriendsAddYourselfException.php │ ├── VKApiFriendsListIdException.php │ ├── VKApiFriendsListLimitException.php │ ├── VKApiFriendsTooManyFriendsException.php │ ├── VKApiGroupAppIsNotInstalledInCommunityException.php │ ├── VKApiGroupAuthException.php │ ├── VKApiGroupChangeCreatorException.php │ ├── VKApiGroupHostNeed2faException.php │ ├── VKApiGroupInviteLinksNotValidException.php │ ├── VKApiGroupNeed2faException.php │ ├── VKApiGroupNotInClubException.php │ ├── VKApiGroupTooManyAddressesException.php │ ├── VKApiGroupTooManyOfficersException.php │ ├── VKApiInsufficientFundsException.php │ ├── VKApiInvalidAddressException.php │ ├── VKApiIpIsNotAllowedException.php │ ├── VKApiLikesReactionCanNotBeAppliedException.php │ ├── VKApiLimitsException.php │ ├── VKApiMarketAddToMarketAlbumException.php │ ├── VKApiMarketAddToServiceAlbumException.php │ ├── VKApiMarketAlbumMainHiddenException.php │ ├── VKApiMarketAlbumNotFoundException.php │ ├── VKApiMarketCantChangeVkpayStatusException.php │ ├── VKApiMarketCommentsClosedException.php │ ├── VKApiMarketDisabledException.php │ ├── VKApiMarketExtendedNotEnabledException.php │ ├── VKApiMarketFailedToSetAlbumAsMainException.php │ ├── VKApiMarketFailedToUnsetAlbumAsMainException.php │ ├── VKApiMarketGroupingAlreadyHasSuchVariantException.php │ ├── VKApiMarketGroupingHasOtherPropertiesException.php │ ├── VKApiMarketGroupingItemsMustHaveDistinctPropertiesException.php │ ├── VKApiMarketGroupingItemsWithDifferentPropertiesException.php │ ├── VKApiMarketGroupingMustContainMoreThanOneItemException.php │ ├── VKApiMarketGroupingMustHaveVariantsException.php │ ├── VKApiMarketInvalidDimensionsException.php │ ├── VKApiMarketItemAlreadyAddedException.php │ ├── VKApiMarketItemHasBadLinksException.php │ ├── VKApiMarketItemIsNotDeletedException.php │ ├── VKApiMarketItemNotFoundException.php │ ├── VKApiMarketMaxPropertiesLimitExceedException.php │ ├── VKApiMarketMaxVariantsLimitExceedException.php │ ├── VKApiMarketNameTooLongException.php │ ├── VKApiMarketNotEnabledException.php │ ├── VKApiMarketOrdersInvalidStatusException.php │ ├── VKApiMarketOrdersNoCartItemsException.php │ ├── VKApiMarketOrdersOrderNotFoundException.php │ ├── VKApiMarketPhotosCropInvalidFormatException.php │ ├── VKApiMarketPhotosCropOverflowException.php │ ├── VKApiMarketPhotosCropSizeTooLowException.php │ ├── VKApiMarketPropertyNotFoundException.php │ ├── VKApiMarketRestoreTooLateException.php │ ├── VKApiMarketServicesDisabledException.php │ ├── VKApiMarketShopAlreadyDisabledException.php │ ├── VKApiMarketShopAlreadyEnabledException.php │ ├── VKApiMarketTooManyAlbumsException.php │ ├── VKApiMarketTooManyItemsException.php │ ├── VKApiMarketTooManyItemsInAlbumException.php │ ├── VKApiMarketUnknownPropertyTypeException.php │ ├── VKApiMarketVariantNotFoundException.php │ ├── VKApiMarketVariantValueTooLongException.php │ ├── VKApiMarketVariantsException.php │ ├── VKApiMarketVariantsNotEnabledException.php │ ├── VKApiMessagesCantChangeInviteLinkException.php │ ├── VKApiMessagesCantDeleteForAllException.php │ ├── VKApiMessagesCantEditPinnedYetException.php │ ├── VKApiMessagesCantFwdException.php │ ├── VKApiMessagesCantPinExpiringMessageException.php │ ├── VKApiMessagesCantPinOneTimeStoryException.php │ ├── VKApiMessagesCantSeeInviteLinkException.php │ ├── VKApiMessagesChatBotFeatureException.php │ ├── VKApiMessagesChatDisabledException.php │ ├── VKApiMessagesChatNotAdminException.php │ ├── VKApiMessagesChatNotExistException.php │ ├── VKApiMessagesChatUnsupportedException.php │ ├── VKApiMessagesChatUserLeftException.php │ ├── VKApiMessagesChatUserNoAccessException.php │ ├── VKApiMessagesChatUserNotInChatException.php │ ├── VKApiMessagesContactNotFoundException.php │ ├── VKApiMessagesDenySendException.php │ ├── VKApiMessagesDropDeviceCacheException.php │ ├── VKApiMessagesEditExpiredException.php │ ├── VKApiMessagesEditKindDisallowedException.php │ ├── VKApiMessagesForbiddenReactionException.php │ ├── VKApiMessagesGroupForNotificationsOnlyException.php │ ├── VKApiMessagesGroupPeerAccessException.php │ ├── VKApiMessagesIntentCantUseException.php │ ├── VKApiMessagesIntentLimitOverflowException.php │ ├── VKApiMessagesInvalidReactionIdException.php │ ├── VKApiMessagesKeyboardInvalidException.php │ ├── VKApiMessagesMemberAccessToGroupDeniedException.php │ ├── VKApiMessagesMessageCannotBeForwardedException.php │ ├── VKApiMessagesMessageRequestAlreadySentException.php │ ├── VKApiMessagesNeedMessageRequestException.php │ ├── VKApiMessagesPeerBlockedReasonByTimeException.php │ ├── VKApiMessagesPendingMessageRequestException.php │ ├── VKApiMessagesPrivacyException.php │ ├── VKApiMessagesReactionsLimitReachedException.php │ ├── VKApiMessagesTooBigException.php │ ├── VKApiMessagesTooLongForwardsException.php │ ├── VKApiMessagesTooLongMessageException.php │ ├── VKApiMessagesTooManyPostsException.php │ ├── VKApiMessagesTooNewPtsException.php │ ├── VKApiMessagesTooOldPtsException.php │ ├── VKApiMessagesUserBlockedException.php │ ├── VKApiMessagesUserNotDonException.php │ ├── VKApiMessagesWritingDisabledForChatException.php │ ├── VKApiMethodAdsException.php │ ├── VKApiMethodDisabledException.php │ ├── VKApiMethodException.php │ ├── VKApiMethodPermissionException.php │ ├── VKApiMobileNotActivatedException.php │ ├── VKApiNeedConfirmationException.php │ ├── VKApiNeedTokenConfirmationException.php │ ├── VKApiNotFoundException.php │ ├── VKApiNotImplementedYetException.php │ ├── VKApiNotSupportedHttpMethodException.php │ ├── VKApiOtpValidationNeedException.php │ ├── VKApiParamAlbumIdException.php │ ├── VKApiParamApiIdException.php │ ├── VKApiParamDocAccessException.php │ ├── VKApiParamDocDeleteAccessException.php │ ├── VKApiParamDocIdException.php │ ├── VKApiParamDocRestoreAccessException.php │ ├── VKApiParamDocRestoreTimeoutException.php │ ├── VKApiParamDocTitleException.php │ ├── VKApiParamException.php │ ├── VKApiParamGroupIdException.php │ ├── VKApiParamHashException.php │ ├── VKApiParamNoteIdException.php │ ├── VKApiParamPageIdException.php │ ├── VKApiParamPhotoException.php │ ├── VKApiParamPhotosException.php │ ├── VKApiParamServerException.php │ ├── VKApiParamTimestampException.php │ ├── VKApiParamTitleException.php │ ├── VKApiParamUserIdException.php │ ├── VKApiPasswordValidationNeedException.php │ ├── VKApiPermissionException.php │ ├── VKApiPhoneValidationNeedException.php │ ├── VKApiPhotoChangedException.php │ ├── VKApiPollsAccessException.php │ ├── VKApiPollsAccessWithoutVoteException.php │ ├── VKApiPollsAnswerIdException.php │ ├── VKApiPollsPollIdException.php │ ├── VKApiPrettyCardsCardIsConnectedToPostException.php │ ├── VKApiPrettyCardsCardNotFoundException.php │ ├── VKApiPrettyCardsTooManyCardsException.php │ ├── VKApiPrivateProfileException.php │ ├── VKApiRateLimitException.php │ ├── VKApiRecaptchaException.php │ ├── VKApiRequestException.php │ ├── VKApiRuntimeException.php │ ├── VKApiSaveFileException.php │ ├── VKApiSectionDisabledException.php │ ├── VKApiServerException.php │ ├── VKApiSignatureException.php │ ├── VKApiStatusNoAudioException.php │ ├── VKApiStickersNotFavoriteException.php │ ├── VKApiStickersNotPurchasedException.php │ ├── VKApiStickersTooManyFavoritesException.php │ ├── VKApiStoryExpiredException.php │ ├── VKApiStoryIncorrectReplyPrivacyException.php │ ├── VKApiTimeoutException.php │ ├── VKApiTokenExtensionRequiredException.php │ ├── VKApiTooManyException.php │ ├── VKApiTooManyListsException.php │ ├── VKApiTranslationsCantTranslateException.php │ ├── VKApiTranslationsMultipleSourceLangException.php │ ├── VKApiUnknownApplicationException.php │ ├── VKApiUnknownException.php │ ├── VKApiUnknownGroupException.php │ ├── VKApiUnknownUserException.php │ ├── VKApiUploadException.php │ ├── VKApiUserBannedException.php │ ├── VKApiUserDeactivatedException.php │ ├── VKApiUserDeletedException.php │ ├── VKApiUserServiceDeactivatedException.php │ ├── VKApiVideoAlreadyAddedException.php │ ├── VKApiVideoCommentsClosedException.php │ ├── VKApiVotesPermissionException.php │ ├── VKApiWaitException.php │ ├── VKApiWallAccessAddReplyException.php │ ├── VKApiWallAccessCommentException.php │ ├── VKApiWallAccessPostException.php │ ├── VKApiWallAccessRepliesException.php │ ├── VKApiWallAddPostException.php │ ├── VKApiWallAdsPostLimitReachedException.php │ ├── VKApiWallAdsPublishedException.php │ ├── VKApiWallCheckLinkCantDetermineSourceException.php │ ├── VKApiWallCommentNotDeletedException.php │ ├── VKApiWallDonutException.php │ ├── VKApiWallLinksForbiddenException.php │ ├── VKApiWallReplyOwnerFloodException.php │ ├── VKApiWallTooManyRecipientsException.php │ └── VKApiWeightedFloodException.php ├── VKApiException.php ├── VKClientException.php ├── VKException.php ├── VKLongPollServerKeyExpiredException.php ├── VKLongPollServerTsException.php └── VKOAuthException.php ├── OAuth ├── AbstractOAuth.php ├── Group │ ├── DTO │ │ ├── AccessTokenParams.php │ │ └── AuthorizeUrlParams.php │ ├── Display.php │ ├── Group.php │ └── Scopes.php ├── ResponseType.php └── User │ ├── DTO │ ├── AuthorizeUrlParams.php │ ├── IdTokenParams.php │ ├── LogoutParams.php │ ├── RefreshTokensParams.php │ ├── Scopes.php │ ├── TokensParams.php │ └── ViewType.php │ └── User.php └── Transport └── Client.php /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vkcom/vk-php-sdk", 3 | "version": "5.199.0", 4 | "description": "VK PHP SDK", 5 | "keywords": [ 6 | "vk", 7 | "sdk" 8 | ], 9 | "type": "library", 10 | "homepage": "https://github.com/VKCOM/vk-api-schema", 11 | "license": "MIT", 12 | "require": { 13 | "php": "^7|^8", 14 | "guzzlehttp/guzzle": "^7.5" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "VK\\": "src/VK" 19 | } 20 | }, 21 | "minimum-stability": "dev" 22 | } 23 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | tests 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/VK/Client/Actions/ActionInterface.php: -------------------------------------------------------------------------------- 1 |