PHPackages                             aidsoul/botpvt - 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. aidsoul/botpvt

AbandonedArchivedLibrary

aidsoul/botpvt
==============

1.1.2(4y ago)224[1 issues](https://github.com/aidsoul/vk-to-telegram/issues)MITPHPPHP &gt;=8

Since Feb 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aidsoul/vk-to-telegram)[ Packagist](https://packagist.org/packages/aidsoul/botpvt)[ RSS](/packages/aidsoul-botpvt/feed)WikiDiscussions master Synced 1mo ago

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

 [ ![](https://camo.githubusercontent.com/058d505a67a1f3dd7425e4b98dcb0382df52ac07ce6b56e0b36d59f5aa44032f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616964736f756c2f766b2d746f2d74656c656772616d) ](https://github.com/aidsoul/vk-to-telegram/releases/latest "GitHub release")New versions available here:
================================================================

[](#new-versions-available-here-httpsgithubcomaidsoulvktote)

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

[](#installation)

To install, use the command: `git clone https://github.com/aidsoul/vk-to-telegram`.

Download the necessary libraries using the command: `composer install`.

Or use command `composer require aidsoul/botpvt`.

Connection example
------------------

[](#connection-example)

```
require_once __DIR__.'/vendor/autoload.php';
$config =  [
    'Vk'        =>[
   	    'token'         => 'Your token',
   	    'idGroup'       => 'Group id or name',
   	    'count'         => 5
    ],
    'Telegram'  =>[
      	'botApiKey'     => '',
      	'botName'       => '',
     	  'chatId'        =>  0
    ],
    'Db'        =>[
       	'host'          => 'mysql:host=localhost',
       	'dbName'        =>  'vk',
        'user'          =>  'root',
        'pass'          =>  ''
      ],
  ];

Botpvt\Start::vk($config);
```

Widgets
-------

[](#widgets)

```
require_once __DIR__.'/vendor/autoload.php';
use Botpvt\Config\Config;
// Combining all widgets into text and pinning in the channel
/**/
Config::set($config);
$con = new Botpvt\Widgets\Conclusion;
$con->push();
```

If you need to send only a specific widget, use:

```
$widget = Botpvt\Widgets\ExchangeRate;
// get a string with the answer
$str = $widget->get();
```

> This method does not send data to the telegram channel!

MySQL
-----

[](#mysql)

> The project uses a mysql database.

And finally, import the database file: `db.sql`.

Task Scheduler
--------------

[](#task-scheduler)

> Use crontab on your server or another task scheduler to get fresh posts without stopping.

### Usage example

[](#usage-example)

Open and add a task to the task list: `crontab-e`. Get fresh entries every minute: `* * * * * php /patch for php file`.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~51 days

Total

2

Last Release

1503d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/496f46da5b79aa3ef1bfacadafdc3c86ab57089853c0227b8596f8802d24fef1?d=identicon)[AidSoul](/maintainers/AidSoul)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aidsoul-botpvt/health.svg)

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

###  Alternatives

[php-telegram-bot/telegram-bot-manager

PHP Telegram Bot Manager

22014.5k](/packages/php-telegram-bot-telegram-bot-manager)[php-telegram-bot/laravel

Integrates PHP Telegram Bot into Laravel.

1869.0k](/packages/php-telegram-bot-laravel)[onmotion/yii2-telegram

Support chat for site based on Telegram bot

526.3k](/packages/onmotion-yii2-telegram)[naffiq/telegram-channel-php

Post to your telegram channel with ease!

124.2k](/packages/naffiq-telegram-channel-php)

PHPackages © 2026

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