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)016MITPHPPHP &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 1mo 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 14% 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

1673d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95885e166782697a88326ffa06cd4990bbd1e73768287e1c04fe175d22db8b80?d=identicon)[slatch](/maintainers/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

[openai-php/client

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

5.8k22.6M232](/packages/openai-php-client)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

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

1.5k311.5k5](/packages/theodo-group-llphant)[mozex/anthropic-php

Anthropic PHP is a supercharged community-maintained PHP API client that allows you to interact with Anthropic API.

46365.1k13](/packages/mozex-anthropic-php)[klev-o/crypto-pay-api

Simple and convenient implementation of the Crypto Pay payment system (@CryptoBot)

205.1k](/packages/klev-o-crypto-pay-api)[borsaco/telegram-bot-api-bundle

A simple wrapper for telegram-bot-api.

5633.0k](/packages/borsaco-telegram-bot-api-bundle)

PHPackages © 2026

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