PHPackages                             dillarionov/vkbot - 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. dillarionov/vkbot

ActiveLibrary[API Development](/categories/api)

dillarionov/vkbot
=================

Easy way to create VK API bots in PHP

1.0.0(4d ago)03MITPHPPHP ^8.2

Since Mar 17Pushed 4d agoCompare

[ Source](https://github.com/keeksiiik/vkbot)[ Packagist](https://packagist.org/packages/dillarionov/vkbot)[ RSS](/packages/dillarionov-vkbot/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

VK Bot for Laravel
==================

[](#vk-bot-for-laravel)

A powerful and easy-to-use package for creating VK API bots in PHP and Laravel, inspired by the architecture of popular Telegram bot libraries.

Features
--------

[](#features)

- **Fluent Method Calls**: Intuitive API for interacting with VK.
- **Event-Driven Architecture**: Handle updates (Webhooks or LongPoll) with dedicated handlers.
- **Laravel Integration**: Built-in service providers, config, and artisan commands.
- **Rich Object Mapping**: Responses are mapped to clean PHP objects.

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

[](#installation)

You can install the package via composer:

```
composer require dillarionov/vkbot
```

Usage
-----

[](#usage)

### Simple Echo Example

[](#simple-echo-example)

```
use dillarionov\VkBot\VkBot;

$bot = new VkBot('your-token');

$bot->onMessage(function ($update) use ($bot) {
    if ($update->message) {
        $bot->messages()->send([
            'peer_id' => $update->message->peer_id,
            'message' => 'Hello from VkBot!',
            'random_id' => rand()
        ]);
    }
});
```

See the [documentation](docs/README.md) for more details.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance99

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

4d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c57d4492250933932f5bfb53b367fb4f707289e55bc6639764f8372a528cdd7?d=identicon)[keeksiiik](/maintainers/keeksiiik)

---

Top Contributors

[![dillarionov-spec](https://avatars.githubusercontent.com/u/236837052?v=4)](https://github.com/dillarionov-spec "dillarionov-spec (2 commits)")

---

Tags

apilaravelbotvk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dillarionov-vkbot/health.svg)

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

###  Alternatives

[rakibdevs/openweather-laravel-api

Laravel package to connect https://openweathermap.org/ to get customized weather data for any location on the globe immediately

7646.6k](/packages/rakibdevs-openweather-laravel-api)

PHPackages © 2026

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