PHPackages                             rezident/wise-telegram-bot - 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. rezident/wise-telegram-bot

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

rezident/wise-telegram-bot
==========================

010PHP

Since May 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rezident/wise-telegram-bot)[ Packagist](https://packagist.org/packages/rezident/wise-telegram-bot)[ RSS](/packages/rezident-wise-telegram-bot/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Wise Telegram Bot
=================

[](#wise-telegram-bot)

Creating the bot
----------------

[](#creating-the-bot)

To create a new bot object, you need a token. This token can be obtained with a special bot - [@BotFather](https://t.me/BotFather). Creating a bot object:

```
$bot = new \Rezident\WiseTelegramBot\Bot('special token');
```

Processing updates
------------------

[](#processing-updates)

The bot can receive the update in two ways: by requesting it itself (using the [getUpdates](https://core.telegram.org/bots/api#getupdates) method) or by receiving it as an associative array (using [webhooks](https://core.telegram.org/bots/api#getupdates)).

### Associative array

[](#associative-array)

For the bot to process the update as an associative array, it must be passed to the `handleUpdate` method:

```
$update = json_decode($body);

$bot = new \Rezident\WiseTelegramBot\Bot('special token');
$bot->handleUpdate($update);
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/35a3eb31f74a417ee93f44961f6e1c43b95821ddb977d6310f289f2da14724f8?d=identicon)[rezident](/maintainers/rezident)

---

Top Contributors

[![rezident](https://avatars.githubusercontent.com/u/6260425?v=4)](https://github.com/rezident "rezident (6 commits)")

### Embed Badge

![Health badge](/badges/rezident-wise-telegram-bot/health.svg)

```
[![Health](https://phpackages.com/badges/rezident-wise-telegram-bot/health.svg)](https://phpackages.com/packages/rezident-wise-telegram-bot)
```

PHPackages © 2026

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