PHPackages                             rollylni/vklib - 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. rollylni/vklib

ActiveLibrary[API Development](/categories/api)

rollylni/vklib
==============

library for simplified work with VK-API

0.7.1(5y ago)118MITPHPPHP &gt;=7.1

Since Dec 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Rollylni/VkLib)[ Packagist](https://packagist.org/packages/rollylni/vklib)[ RSS](/packages/rollylni-vklib/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

VkLib, PHP SDK
==============

[](#vklib-php-sdk)

[![Version](https://camo.githubusercontent.com/c91550a8933c58a713ea1cf09b5d6e341a6fd708eef4667b981b01ebc6ac4018/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6c6c796c6e692f766b6c69623f7374796c653d706c6173746963)](https://packagist.org/packages/rollylni/vklib)[![Downloads](https://camo.githubusercontent.com/4c4d95d93c67771df67f731abf16c4fe524175929d080e75dcb9b89a1dca9749/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6c6c796c6e692f766b6c69623f7374796c653d706c6173746963)](https://packagist.org/packages/rollylni/vklib)[![License](https://camo.githubusercontent.com/cff9aa62b12ccdb428a12c0bf0b8fc24b6f2fc95c060231c8aeb680ab64a6ab4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f726f6c6c796c6e692f766b6c69623f7374796c653d706c6173746963)](https://en.wikipedia.org/wiki/MIT_License)[![PHPVersion](https://camo.githubusercontent.com/57dbc14ef32bfc80e44002b15760e2ad9f773a8ba9a72ec28966ed013a9d6253/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f726f6c6c796c6e692f766b6c69623f7374796c653d706c6173746963)](https://packagist.org/packages/rollylni/vklib)

VkLib is a library for simplified work with the VK API in the OO approach.

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

[](#installation)

```
composer require rollylni/vklib
```

Capabilities
------------

[](#capabilities)

- Ability to create many clients [(Example)](./docs/Clients.md)
- Сonvenient call API requests [(Example)](./docs/Methods.md)
- Captcha handling capability [(Example)](.docs/Methods.md)
- Keyboard support for bots [(Example)](./docs/Keyboard.md)
- Callback buttons supported [(Example)](./docs/Keyboard.md)
- Button click handlers for bots [(Example)](./docs/Keyboard.md)
- Carousel supported [(Example)](./docs/Keyboard.md)
- Bots Long Poll [(Example)](./docs/LongPoll.md)
- User Long Poll [(Example)](./docs/LongPoll.md)
- Callback Bots [(Example)](./docs/Callback.md)
- Manage group callback servers [(Example)](./docs/CallbackManager.md)
- The ability to process payments [(Example)](./docs/Payment.md)
- Uploading files [(Example)](./docs/Upload.md)
- Execute util [(Example)](./docs/Execute.md)
- Streaming [(Example)](./docs/Streaming.md)
- Widgets [(Example)](./docs/Widgets.md)
- OAuth [(Example)](./docs/OAuth.md)
- Foaf [(Example)](./docs/Foaf.md)

Example Usage
-------------

[](#example-usage)

```
require "vendor/autoload.php";

$client = new \VkLib\VkClient("ClientName", 5.126, "en");
$client->setToken("AccessToken");

$api = new \VkLib\VkApi($client);
var_dump($api->users->get()->json());
$client->remove();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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

Every ~0 days

Total

2

Last Release

1986d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6dc8a4f5a648b18f5a9a761c2b1057d679e72b51ded0eb5ded45b094773ed416?d=identicon)[Rollylni](/maintainers/Rollylni)

---

Top Contributors

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

---

Tags

phpsdkVK api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rollylni-vklib/health.svg)

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

###  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)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

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