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

ActiveLibrary[API Development](/categories/api)

maksa988/vk
===========

PHP class for working with VK API

1.1.0(10y ago)019MITPHPPHP &gt;=5.3.0

Since Sep 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/maksa988/VK-API-Class)[ Packagist](https://packagist.org/packages/maksa988/vk)[ Docs](https://github.com/maksa988/VK-API-Class)[ RSS](/packages/maksa988-vk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

VK API
======

[](#vk-api)

[![Total Downloads](https://camo.githubusercontent.com/df28bd0f4c15dc8c12ba65aa22a0bfa254c527aab531ed2cf5c1ea0460c64640/68747470733a2f2f706f7365722e707567782e6f72672f6d616b73613938382f766b2f646f776e6c6f616473)](https://packagist.org/packages/maksa988/vk)[![Latest Stable Version](https://camo.githubusercontent.com/a822037f4def9b2ec5fe430b19d389f4db371f9dd208fe619e6108db51e4807c/68747470733a2f2f706f7365722e707567782e6f72672f6d616b73613938382f766b2f762f737461626c65)](https://packagist.org/packages/maksa988/vk)[![Latest Unstable Version](https://camo.githubusercontent.com/8430715f666fce6314da8c4ee4aedf523c60f5c7a5603b11eba0844ea28b2ec8/68747470733a2f2f706f7365722e707567782e6f72672f6d616b73613938382f766b2f762f756e737461626c65)](https://packagist.org/packages/maksa988/vk)[![License](https://camo.githubusercontent.com/1c62adf31cb0462ef241233739e8cdc39ac7d455a42fad94106ed1f8d14ebd63/68747470733a2f2f706f7365722e707567782e6f72672f6d616b73613938382f766b2f6c6963656e7365)](https://packagist.org/packages/maksa988/vk)

PHP class for working with [VK API](https://vk.com/dev)

Usage
-----

[](#usage)

1. Connect class

    ```
     require('VK.php');

    ```
2. Create VK object

    1. without access token (examples/example-1.php)

        ```
         $vk = new MAKSA\VKAPI('{APP_ID}', '{API_SECRET}');

        ```
    2. with access token (examples/example-2.php)

        ```
         $vk = new MAKSA\VKAPI('{APP_ID}', '{API_SECRET}', '{ACCESS_TOKEN}');

        ```
3. Usage API

    ```
     $vk->api('{METHOD_NAME}', '{PARAMETERS}');

    ```

### Other methods

[](#other-methods)

- Set version of API. `$vk->setApiVersion({NUBMER});`

### Variables

[](#variables)

- `{APP_ID}` — Your application's identifier.
- `{API_SECRET}` — Secret application key.
- `{ACCESS_TOKEN}` — Access token.
- `{METHOD_NAME}` — Name of the API method. [All methods.](http://vk.com/dev/methods)
- `{PARAMETERS}` — Parameters of the corresponding API methods.

Development
-----------

[](#development)

- Source hosted at [GitHub](https://github.com/maksa988/VK-API-Class)
- Report issues, questions, feature requests on [GitHub Issues](https://github.com/maksa988/VK-API-Class/issues)

Author
------

[](#author)

Website: [Maksa988](https://github.com/zelenin/)Email:

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3896d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20fbc1e64ffeb6456030e392c1f59eb47a5e9dbb4406aa117ce2a343a4c9f1ba?d=identicon)[maksa988](/maintainers/maksa988)

---

Top Contributors

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

---

Tags

apivkvk.comvkontaktevkapi

### Embed Badge

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

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

###  Alternatives

[getjump/vk

Library for work with API Vk.com

20048.5k](/packages/getjump-vk)[digitalstars/simplevk

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

883.9k3](/packages/digitalstars-simplevk)[asil/vkmarket

The PHP library for work with VK Market API

235.1k](/packages/asil-vkmarket)[jumper423/yii2-vk

Расширенная работа с API VK

301.6k](/packages/jumper423-yii2-vk)

PHPackages © 2026

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