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

ActiveLibrary[API Development](/categories/api)

nikileads/vk-client
===================

PHP client for Vk.com API. Forked from atehnix/vkclient. Original author atehnix@gmail.com

1.0.0.x-dev(2y ago)2369MITPHP

Since Apr 15Pushed 2y agoCompare

[ Source](https://github.com/nikileads/vk-client)[ Packagist](https://packagist.org/packages/nikileads/vk-client)[ RSS](/packages/nikileads-vk-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

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/)It is fork to use with current VK Api from atehnix/vk-client

`composer require nikileads/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

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

799d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phpapiclientvkvk.comvkontakte

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/nikileads-vk-client/health.svg)](https://phpackages.com/packages/nikileads-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.7k8.8M83](/packages/openai-php-laravel)[resend/resend-php

Resend PHP library.

596.2M35](/packages/resend-resend-php)[getjump/vk

Library for work with API Vk.com

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

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

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

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

934.2k3](/packages/digitalstars-simplevk)[timkley/weaviate-php

A PHP HTTP Client for the Weaviate REST API

3864.4k2](/packages/timkley-weaviate-php)

PHPackages © 2026

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