PHPackages                             deliciousdishes/vk-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. deliciousdishes/vk-api-client

AbandonedArchivedLibrary[API Development](/categories/api)

deliciousdishes/vk-api-client
=============================

VK API Client for PHP

17PHP

Since Jul 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mdimaas/vk-php-api-client)[ Packagist](https://packagist.org/packages/deliciousdishes/vk-api-client)[ RSS](/packages/deliciousdishes-vk-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Dependency Status](https://camo.githubusercontent.com/1f0e86518d98c5edfd0616ae38e41aa8a0fc3c932dc31b24c3ab413277d087b9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535396135666161363136363334303032313030303065662f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/559a5faa61663400210000ef)

VKontakte API Client for PHP
============================

[](#vkontakte-api-client-for-php)

\##Installation

If you're usage [Composer](https://getcomposer.org/), which we recommend, add record in your **composer.json** file

```
{
  "require":{
    ...
    "deliciousdishes/vk-api-client": "dev-master"
    ...
  },
  "repositories":[
        ...
        {
            "type": "git",
            "url": "https://github.com/mdimaas/vk-php-api-client"
        }
        ...
  ]

}

```

\##Example usage

For get URL by authorization in VK

```
$helper = new \DeliciousDishes\VKLoginHelper("http://yoursite.com", "your_app_id", "your_app_secret", array("email", ...,"offline"));
$url = $helper->getLoginUrl();

```

After click by link VK redirected in back with secure code in GET parameter. Now get VK session by secure code. Example:

```
$helper = new \DeliciousDishes\VKLoginHelper("http://yoursite.com", "your_app_id", "your_app_secret", array("email", ...,"offline"));
$helper->getSession();
// or if your secure code saved in var
// $helper->getSession($secureCode);

```

Session stores current user id `$session->getUserId()`For send request in VK API. Example get user information by ids:

```
$request = new \DeliciousDishes\VKRequest($session, "users.get", array("user_ids" => $session->getUserId(),"fields" => "email,..."));
$response = $request->execute()->getResponseData();

```

Result query: mixed the value encoded in **json** in appropriate PHP type.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/43bc7bee47761d7c2d373cfc0890597f644affca4263d5d0abd5b7a5abcc9f84?d=identicon)[mdimaas](/maintainers/mdimaas)

---

Top Contributors

[![mdimaas](https://avatars.githubusercontent.com/u/2173984?v=4)](https://github.com/mdimaas "mdimaas (15 commits)")

---

Tags

phpvk-api

### Embed Badge

![Health badge](/badges/deliciousdishes-vk-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/deliciousdishes-vk-api-client/health.svg)](https://phpackages.com/packages/deliciousdishes-vk-api-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
