PHPackages                             albreis/telegram - 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. albreis/telegram

ActiveLibrary[API Development](/categories/api)

albreis/telegram
================

SDK para trabalhar com API do Telegram

1.1.0(1y ago)048MITPHPPHP ^8CI failing

Since Aug 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/albreis/telegram)[ Packagist](https://packagist.org/packages/albreis/telegram)[ RSS](/packages/albreis-telegram/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (13)Used By (0)

SDK PHP PARA BOT DE TELEGRAM
============================

[](#sdk-php-para-bot-de-telegram)

```
use Albreis\Telegram\Bot;
use Albreis\Telegram\Config;

include 'vendor/autoload.php';

$chat_id = 'insira o id do seu chat';

Config::setToken(getenev('TELEGRAM_BOT_TOKEN'));

/**
 * Utilize parâmetros/argumentos nomeados (Named Arguments / Named Parameters)
 */
$response = Bot::sendMessage(
    chat_id: $chat_id,
    text: 'Test message'
);

var_dump($response);

/**
 * É possível definir o token durante a chamada
 * Isso irá retornar uma nova instância
 */
$response = Bot::setToken('seu token aqui')->sendMessage(
    chat_id: $chat_id,
    text: 'Test message'
);

var_dump($response);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

12

Last Release

680d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1e5ddf49ba9616d700a51682fabf613698895fa048f43f833d5940da939f52e?d=identicon)[albreis](/maintainers/albreis)

---

Top Contributors

[![albreis](https://avatars.githubusercontent.com/u/37410558?v=4)](https://github.com/albreis "albreis (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/albreis-telegram/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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