PHPackages                             levkopo/dribots - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. levkopo/dribots

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

levkopo/dribots
===============

Chat bot library for VK, Viber, Telegram and other platforms

1.2(4y ago)2612MITPHPPHP &gt;=8.0

Since Apr 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/levkopo/DriBots)[ Packagist](https://packagist.org/packages/levkopo/dribots)[ Docs](https://github.com/levkopo/DriBots)[ RSS](/packages/levkopo-dribots/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (10)Dependencies (3)Versions (11)Used By (2)

DriBots
=======

[](#dribots)

Chat bot library for VK.com, Telegram and other platforms

Installing
----------

[](#installing)

To install dribots you need composer and PHP 8.0 and higher (if you have, of course xD)

```
composer require levkopo/dribots

```

Installing platform libraries
-----------------------------

[](#installing-platform-libraries)

In addition, to use DriBots for other platforms, you need the required platform libraries.

For Telegram:

```
composer require levkopo/dribots-telegram

```

For VK.com:

```
composer require levkopo/dribots-vk

```

Usage
-----

[](#usage)

Example bot resend sended message for VK.com and Telegram:

```
use DriBots\Bot;
use DriBots\Data\Message;
use DriBots\DriBotsHandler;
use DriBots\Platforms\TelegramPlatform;
use DriBots\Platforms\VKPlatform;

const TELEGRAM_BOT_TOKEN = "";

const VK_ACCESS_TOKEN = "";
const VK_GROUP_ID = ;

include_once __DIR__."/./vendor/autoload.php";

DriBotsHandler::new(new class extends Bot {
    public function onNewMessage(Message $message): void {
        $this->platformProvider->sendMessage($message->fromId, $message->text,
            $message->attachment?->save($message->fromId.$message->id));
    }
})->addPlatform(new VKPlatform(VK_ACCESS_TOKEN, VK_GROUP_ID))
    ->addPlatform(new TelegramPlatform(TELEGRAM_BOT_TOKEN))
    ->handle();
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~17 days

Recently: every ~27 days

Total

10

Last Release

1686d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6473733ff076c742881f59f82ffcbc817ed25ec0bc40a72d49630498f1fec03b?d=identicon)[levkopo](/maintainers/levkopo)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/levkopo-dribots/health.svg)

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

###  Alternatives

[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[uspdev/replicado

Classes PHP que consome dados do Replicado USP

136.2k7](/packages/uspdev-replicado)

PHPackages © 2026

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