PHPackages                             slatch/telegram-bot-client - 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. slatch/telegram-bot-client

ActiveLibrary[API Development](/categories/api)

slatch/telegram-bot-client
==========================

PHP client for telegram bots api

0.1.0(4y ago)017MITPHPPHP &gt;=7.4

Since Oct 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Slatch/telegram-bot-client)[ Packagist](https://packagist.org/packages/slatch/telegram-bot-client)[ Docs](https://leonov.xyz)[ RSS](/packages/slatch-telegram-bot-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

telegram-bot-client
===================

[](#telegram-bot-client)

PHP client for telegram

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

[](#requirements)

- PHP 7.4 or higher
- curl
- [PSR-18 http client](https://www.php-fig.org/psr/psr-18/) (for example, [guzzle](https://github.com/guzzle/guzzle))

Installing
----------

[](#installing)

```
composer require "slatch/telegram-bot-client"
```

Usage
-----

[](#usage)

List of available methods:

Example:

```
use Slatch\TelegramBotClient\Api\Config;
use Slatch\TelegramBotClient\Arguments\SendMessage;
use Slatch\TelegramBotClient\BotClient;
use Slatch\TelegramBotClient\Bot\Credentials;

...

// Initialize bot client
$botClient = new BotClient($httpClient, new Credentials($token), new Config('https://api.telegram.org'));

// Prepare message
$message = new SendMessage();
$message->setChatId(12345678);
$message->setText("Hello World!");

// Send
$botClient->sendMessage($message);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

1718d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2030171?v=4)[Andrii Leonov](/maintainers/slatch)[@Slatch](https://github.com/Slatch)

---

Top Contributors

[![Slatch](https://avatars.githubusercontent.com/u/2030171?v=4)](https://github.com/Slatch "Slatch (18 commits)")

---

Tags

phpapiclientbottelegram

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/slatch-telegram-bot-client/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69634.4M144](/packages/algolia-algoliasearch-client-php)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k26.1M294](/packages/openai-php-client)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k371.6k6](/packages/theodo-group-llphant)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)

PHPackages © 2026

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