PHPackages                             atehnix/vk-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. atehnix/vk-client

AbandonedArchivedLibrary[API Development](/categories/api)

atehnix/vk-client
=================

PHP client for Vk.com API

1.4.0(5y ago)6047.4k↓36.5%166MITPHP

Since Jul 24Pushed 5y ago7 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (7)Used By (6)

PHP client for Vk.com API
=========================

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

[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/atehnix/vk-client/master/LICENSE)[![Packagist Version](https://camo.githubusercontent.com/5eafdac03fe8e998cea3a12aa34ab9a0806d217f4866f15223d146bc1cd58bd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617465686e69782f766b2d636c69656e742e737667)](https://packagist.org/packages/atehnix/vk-client)[![Packagist Stats](https://camo.githubusercontent.com/8e163915ecc7f19382293e7b41dd382b76b52a8edd10309c74293d686d07f6d2/68747470733a2f2f706f7365722e707567782e6f72672f617465686e69782f766b2d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/atehnix/vk-client/stats)

Installation
------------

[](#installation)

You can get library and all of it dependencies through [composer](https://getcomposer.org/)

`composer require atehnix/vk-client`

Usage
-----

[](#usage)

### Simple example

[](#simple-example)

```
    $api = new Client;

    $response = $api->request('wall.get', ['owner_id' => 1]);
```

### Use Request class

[](#use-request-class)

```
    $api = new Client;

    $request = new Request('wall.get', ['owner_id' => 1]);
    $response = $api->send($request);
```

### Use ExecuteRequest class

[](#use-executerequest-class)

Send multiple requests at once

```
    $api = new Client;

    $execute = ExecuteRequest::make([
        new Request('wall.get', ['owner_id' => 1]),
        new Request('wall.get', ['owner_id' => 2]),
        // ... few requests
        new Request('wall.get', ['owner_id' => 25]),
    ]);

    $response = $api->send($execute);
```

### Use a specific version of the API.

[](#use-a-specific-version-of-the-api)

```
  $api = new Client('5.60');
```

### Use with access token

[](#use-with-access-token)

Set default token in client.

```
    $api = new Client;

    $api->setDefaultToken("some_token");

    // ...
```

Or set token for specific request.

```
    $api = new Client;

    // Token in the request is a higher priority than the default token.
    $request = new Request('wall.get', ['owner_id' => 1], "some_token");

    // ...
```

### Authorization

[](#authorization)

```
    $auth = new Auth('client_id', 'client_secret', 'redirect_uri');

    echo "ClickMe";

    // ...

    $token = $auth->getToken($_GET['code']);
```

### License

[](#license)

[MIT](https://raw.github.com/atehnix/vk-client/master/LICENSE)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

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.

###  Release Activity

Cadence

Every ~301 days

Recently: every ~346 days

Total

6

Last Release

2076d ago

Major Versions

1.1.0 → 2.0.x-dev2016-12-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab7685d68b0a7a826663193b526e128552ed0993708eda185d25118745641e84?d=identicon)[Daaner](/maintainers/Daaner)

---

Tags

apiapi-vkclientphp-clientvkvkontaktevkontakte-apivkontakte-clientphpapiclientvkvk.comvkontakte

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[kunalvarma05/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

3633.0M18](/packages/kunalvarma05-dropbox-php-sdk)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[getjump/vk

Library for work with API Vk.com

19948.5k](/packages/getjump-vk)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[digitalstars/simplevk

Powerful PHP library/framework for VK API bots, supporting LongPoll &amp; Callback &amp; OAuth

883.9k3](/packages/digitalstars-simplevk)

PHPackages © 2026

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