# php-telegram-bot/core

PHP Telegram Bot based on the official Telegram Bot API

Repository: https://github.com/php-telegram-bot/core
Canonical: https://ross.abutalabs.com/products/php-telegram-bot-core
Language: PHP
License: MIT
License Family: permissive
Topics: telegram-bot, telegram-api, telegram, sdk, sdk-php, php, php-telegram-bot, bot-api, hacktoberfest
Last push: 2025-03-20T16:07:18+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 12, release rhythm 8, longevity 100
- inputs: {"age_days": 4086, "days_push": 531, "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 4019, forks 958 (observed 2026-08-28T04:08:32.479848+00:00)

## What it is
A PHP library implementing the official Telegram Bot API, supporting both webhook and getUpdates modes, with optional database-backed conversation handling. Development is currently on hold as announced by the maintainers.

## Use cases
- build a telegram bot in php
- handle telegram webhook updates
- send messages and photos via telegram bot api
- create inline query bots
- run a telegram bot without a database
- use a custom telegram bot api server

## When to choose
- you need a mature PHP wrapper covering most of the Telegram Bot API
- you want webhook or long-polling update handling out of the box
- you need optional database-backed chat state in PHP

## When to avoid
- development is on hold, so new Bot API features may not be supported
- you need a framework with active maintenance and recent API coverage
- you are not working in PHP

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, http-client, webhook, chatbot
- domain: messaging-platforms, developer-tools
- platform: php, cli, self-hosted
- tags: telegram, telegram-bot-api, bot-framework, composer-package, on-hold, automation, web-server

## Member repositories
- php-telegram-bot/core (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.479848+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-29T18:23:57.138710+00:00, confidence not recorded.
  - readme: https://github.com/php-telegram-bot/core (fetched 2026-08-28T04:08:32.479848+00:00, sha 74a4c3b737c4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
