PHPackages                             wptelegram/bot-api - 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. wptelegram/bot-api

Abandoned → [wpsocio/wptelegram-bot-api](/?search=wpsocio%2Fwptelegram-bot-api)Library[Utility &amp; Helpers](/categories/utility)

wptelegram/bot-api
==================

Telegram Bot API library for WordPress.

v1.0.2(1y ago)2151[1 issues](https://github.com/wpsocio/wptelegram-bot-api/issues)GPL-3.0-or-laterPHP

Since Jan 26Pushed 1y agoCompare

[ Source](https://github.com/wpsocio/wptelegram-bot-api)[ Packagist](https://packagist.org/packages/wptelegram/bot-api)[ RSS](/packages/wptelegram-bot-api/feed)WikiDiscussions main Synced yesterday

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

WP Telegram Bot API
===================

[](#wp-telegram-bot-api)

Telegram Bot API library for WordPress.

Usage
-----

[](#usage)

```
composer require wpsocio/wptelegram-bot-api
```

```
require_once __DIR__ . '/autoload.php';

$bot_token  = 'YOUR BOT TOKEN HERE';

$bot_api = new \WPTelegram\BotAPI\API( $bot_token );

$bot_api->sendMessage( [
    'chat_id' => 123456789,
    'text'    => 'Hello World',
] );

$bot_api->sendPhoto( [
    'chat_id' => 123456789,
    'photo'   => 'https://domain.com/path/to/photo.jpg',
] );
```

Requirements
------------

[](#requirements)

- `PHP >= 8.0`
- `WP >= 6.4`

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.5% 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 ~228 days

Total

3

Last Release

433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/112321edeeaa9cf3cced45d0303c814b3cff9d1a9cf1fe085ad4004cec938e28?d=identicon)[irshadahmad21](/maintainers/irshadahmad21)

---

Top Contributors

[![manzoorwanijk](https://avatars.githubusercontent.com/u/18226415?v=4)](https://github.com/manzoorwanijk "manzoorwanijk (23 commits)")[![irshadahmad21](https://avatars.githubusercontent.com/u/94346512?v=4)](https://github.com/irshadahmad21 "irshadahmad21 (20 commits)")

---

Tags

clientlibrarytelegramtelegram-bottelegram-bot-apiwordpress

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/wptelegram-bot-api/health.svg)

```
[![Health](https://phpackages.com/badges/wptelegram-bot-api/health.svg)](https://phpackages.com/packages/wptelegram-bot-api)
```

###  Alternatives

[letournel/path-finder

Path finder algorithm

142.0k](/packages/letournel-path-finder)

PHPackages © 2026

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