PHPackages                             khamdullaevuz/telegrambot - 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. khamdullaevuz/telegrambot

AbandonedArchivedLibrary[API Development](/categories/api)

khamdullaevuz/telegrambot
=========================

Telegram bot library

2.0(4y ago)213MITPHP

Since Jul 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/khamdullaevuz/TelegramBot)[ Packagist](https://packagist.org/packages/khamdullaevuz/telegrambot)[ RSS](/packages/khamdullaevuz-telegrambot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (12)Used By (0)

TelegramBot
===========

[](#telegrambot)

[![Telegram](https://camo.githubusercontent.com/9fca5d1d5f000edfa1a2a643897c50d3226f241ba9b548a2ea047d5541ca5778/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d2d626c75652e7376673f6c6f676f3d74656c656772616d)](https://t.me/khamdullaevuz)[![GitHub release (latest by date)](https://camo.githubusercontent.com/16fdfeeee54eea013a10c292394d6d93cd4370d0c9f63846d2aa306786200203/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6b68616d64756c6c616576757a2f74656c656772616d626f74)](https://camo.githubusercontent.com/16fdfeeee54eea013a10c292394d6d93cd4370d0c9f63846d2aa306786200203/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6b68616d64756c6c616576757a2f74656c656772616d626f74)

[![GitHub followers](https://camo.githubusercontent.com/c1774561aac0522e7efb1eff18a2950ba2b652c469fe5820e4267a217e8f9cfb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f6c6c6f776572732f6b68616d64756c6c616576757a3f7374796c653d666c6174)](https://camo.githubusercontent.com/c1774561aac0522e7efb1eff18a2950ba2b652c469fe5820e4267a217e8f9cfb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f6c6c6f776572732f6b68616d64756c6c616576757a3f7374796c653d666c6174)[![GitHub forks](https://camo.githubusercontent.com/b7444c63899ebde92f280e3572c4a5da9c2c0b81f2edceb107eb7b6cd343511b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6b68616d64756c6c616576757a2f74656c656772616d626f743f7374796c653d666c6174)](https://camo.githubusercontent.com/b7444c63899ebde92f280e3572c4a5da9c2c0b81f2edceb107eb7b6cd343511b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6b68616d64756c6c616576757a2f74656c656772616d626f743f7374796c653d666c6174)[![GitHub Repo stars](https://camo.githubusercontent.com/c31d36e1ae9367eccc4b754a7ac11e79085b1dcd769322ddb15b9f62951113d5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6b68616d64756c6c616576757a2f74656c656772616d626f743f7374796c653d666c6174)](https://camo.githubusercontent.com/c31d36e1ae9367eccc4b754a7ac11e79085b1dcd769322ddb15b9f62951113d5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6b68616d64756c6c616576757a2f74656c656772616d626f743f7374796c653d666c6174)[![GitHub watchers](https://camo.githubusercontent.com/5f125e16aa6768a3352b4f0e0ddb20d4a8b7ccd374e552f06b0580c0d4ca6429/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f6b68616d64756c6c616576757a2f74656c656772616d626f743f7374796c653d666c6174)](https://camo.githubusercontent.com/5f125e16aa6768a3352b4f0e0ddb20d4a8b7ccd374e552f06b0580c0d4ca6429/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f6b68616d64756c6c616576757a2f74656c656772616d626f743f7374796c653d666c6174)

Ishlatish
---------

[](#ishlatish)

### Composer orqali yuklash

[](#composer-orqali-yuklash)

```
composer require khamdullaevuz/telegrambot
```

#### Ulanish

[](#ulanish)

```
require_once __DIR__."/vendor/autoload.php";

use KhamdullaevUz\Telegram\TelegramBot;

$telegram = new TelegramBot("API_KEY");
```

### Github orqali yuklash

[](#github-orqali-yuklash)

```
git clone https://github.com/khamdullaevuz/telegrambot
```

#### Ulanish:

[](#ulanish-1)

```
require_once __DIR__."/src/TelegramBot.php";

use KhamdullaevUz\Telegram\TelegramBot;

$telegram = new TelegramBot("API_KEY");
```

### Examples

[](#examples)

Example: [example](/examples/example.php)

Created by: [Elbek Khamdullaev](https://khamdullaev.uz)
-------------------------------------------------------

[](#created-by-elbek-khamdullaev)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

11

Last Release

1737d ago

Major Versions

1.5 → 2.02021-08-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f4eb5e4e3010e865b7ed905621efc7e9c1dcd8c1e0039d251fcce6ff9e4df9b?d=identicon)[khamdullaevuz](/maintainers/khamdullaevuz)

---

Top Contributors

[![khamdullaevuz](https://avatars.githubusercontent.com/u/81905341?v=4)](https://github.com/khamdullaevuz "khamdullaevuz (10 commits)")

---

Tags

telegram-bot-apitelegram-bot-framework

### Embed Badge

![Health badge](/badges/khamdullaevuz-telegrambot/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M473](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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