PHP Telegram Bot

github.com/php-telegram-bot/core APIs & Databases Open-source projectOpen source

Build Telegram bots in PHP with this library based on the official Telegram Bot API.

github.com/php-telegram-bot/core
PHP Telegram Bot homepage screenshot

About PHP Telegram Bot

PHP Telegram Bot is an open source PHP library for building Telegram bots on top of the official Telegram Bot API. It is pure PHP and can be extended with plugins. The project's documentation covers creating a bot with BotFather, installing the package with Composer, and choosing how to receive updates.

The library supports all types and methods in Telegram Bot API 7.1, which the project lists as released in February 2024. It handles updates through webhooks or the getUpdates method, supports supergroups and channel administration, and includes inline bot and inline keyboard support. Messages, inline queries and chosen inline query results can be stored in a database. The project states that development is currently on hold until further notice.

Key features

  • Pure PHP library built on the official Telegram Bot API
  • Receives updates through webhooks or the getUpdates method
  • Supports all types and methods in Telegram Bot API 7.1
  • Supports Telegram supergroups
  • Manages channels from the bot admin interface
  • Inline bot support, including inline keyboards and conversation handling
  • Stores messages and inline queries in a database
Best for: PHP developers who want to build Telegram bots using the official Telegram Bot API.
Good for
  • Based on the official Telegram Bot API rather than an unofficial interface
  • Covers supergroups, channel administration and inline bots
  • Open source and available on GitHub, where pull requests are welcome
Watch out for
  • The project states that development is currently on hold until further notice
  • Supports Telegram Bot API 7.1, as listed on the project page
  • Message and inline query storage requires a database to be set up

PHP Telegram Bot at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

PHP Telegram Bot alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in APIs & Databases

Well-known listings from the same topic.

All 93

PHP Telegram Bot FAQ

Is the project still in active development?
The project states that development is currently on hold until further notice, and that updates will be provided when they become available.
Which Telegram Bot API version does the library support?
The project states that it supports all types and methods according to Telegram Bot API 7.1, dated February 2024.
How do I get a token for a new bot?
Message @BotFather in Telegram with /newbot, choose a name and a username ending in 'bot', and BotFather replies with a token for the HTTP API.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing