PHPackages                             creatorqwerty/simple-telegram-bot - 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. creatorqwerty/simple-telegram-bot

ActiveLibrary[API Development](/categories/api)

creatorqwerty/simple-telegram-bot
=================================

Простая PHP-библиотека для работы с Telegram Bot API

v1.0.0(11mo ago)00MITPHPPHP ^8.1

Since Aug 6Pushed 11mo agoCompare

[ Source](https://github.com/creatorqwerty/simple-telegram-bot)[ Packagist](https://packagist.org/packages/creatorqwerty/simple-telegram-bot)[ RSS](/packages/creatorqwerty-simple-telegram-bot/feed)WikiDiscussions main Synced today

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

🤖 Создание бота

Откройте @BotFather в Telegram

Выполните команды:

text /newbot → Укажите имя бота (например: MyCoolBot) → Укажите username (должен оканчиваться на \_bot) Сохраните полученный токен (формат: 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11)

💻 Установка bash

Создаем папку проекта
=====================

[](#создаем-папку-проекта)

mkdir my-telegram-bot &amp;&amp; cd my-telegram-bot

Инициализируем Composer
=======================

[](#инициализируем-composer)

composer init --name="myproject/bot" --type="project" --require="php": "^8.1" --no-interaction

Устанавливаем библиотеку
========================

[](#устанавливаем-библиотеку)

composer require creatorqwerty/simple-telegram-bot

Устанавливаем dotenv для работы с .env
======================================

[](#устанавливаем-dotenv-для-работы-с-env)

composer require vlucas/phpdotenv 🚀 Быстрый старт Создайте файл .env:

bash echo "TELEGRAM\_BOT\_TOKEN=ваш\_токен" &gt; .env echo ".env" &gt;&gt; .gitignore Создайте файл bot.php:

php

load(); try { $bot = new TelegramBot($\_ENV\['TELEGRAM\_BOT\_TOKEN'\]); // Получаем последние сообщения $updates = $bot-&gt;getUpdates(); if (!empty($updates)) { $chatId = $updates\[0\]\['message'\]\['chat'\]\['id'\]; $bot-&gt;sendMessage($chatId, "Привет! Я работаю!"); } else { echo "Напишите боту сообщение, чтобы получить chat\_id"; } } catch (Exception $e) { die("Ошибка: " . $e-&gt;getMessage()); } Запустите бота: bash php bot.php

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance52

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

332d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/143329733?v=4)[creatorqwerty](/maintainers/creatorqwerty)[@creatorqwerty](https://github.com/creatorqwerty)

---

Top Contributors

[![creatorqwerty](https://avatars.githubusercontent.com/u/143329733?v=4)](https://github.com/creatorqwerty "creatorqwerty (3 commits)")

### Embed Badge

![Health badge](/badges/creatorqwerty-simple-telegram-bot/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

668535.6k5](/packages/netflie-whatsapp-cloud-api)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36208.3k3](/packages/wrav-oembed)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)[hardcastle/xrpl_php

PHP SDK / Client for the XRP Ledger

1110.7k7](/packages/hardcastle-xrpl-php)

PHPackages © 2026

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