# TelegramBot/Api

Native PHP Wrapper for Telegram BOT API

Repository: https://github.com/TelegramBot/Api
Canonical: https://ross.abutalabs.com/products/telegrambot-api
Language: PHP
License: MIT
License Family: permissive
Topics: telegram-bot, bot-api, api-wrapper, sdk
Last push: 2025-07-10T12:31:50+00:00

## Health v2 (maintenance only)
Score: 37/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 31, release rhythm 8, longevity 100
- inputs: {"age_days": 4086, "days_push": 419, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1194, forks 342 (observed 2026-08-28T04:03:56.659713+00:00)

## What it is
A native PHP wrapper for the Telegram Bot API with no external requirements, supporting all Bot API methods and response types. It lets PHP developers send messages, documents, media groups, and custom keyboards via simple method calls.

## Use cases
- send telegram messages from php
- build a telegram bot in php
- send documents or photos to a telegram chat
- add inline keyboards to telegram bot messages
- send media groups to telegram
- integrate telegram notifications into a php app

## When to choose
- you need a lightweight, dependency-free PHP wrapper for the Telegram Bot API
- you want full coverage of Telegram Bot API methods and types
- you prefer a simple composer-installable SDK without framework lock-in

## When to avoid
- you need a full bot framework with webhook routing, conversation state, or command handling
- your project is not in PHP
- you need async or long-polling infrastructure out of the box

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client
- domain: messaging-platforms, apis
- platform: php
- tags: telegram-bot, bot-api, api-wrapper, automation

## Member repositories
- TelegramBot/Api (main) score 37

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.659713+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:08.988664+00:00, confidence not recorded.
  - readme: https://github.com/TelegramBot/Api (fetched 2026-08-28T04:03:56.659713+00:00, sha 3ba212ad6f2a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
