Repolode
irazasyed

irazasyed/telegram-bot-sdk

A PHP SDK for building Telegram bots on the Telegram Bot API, with built-in Laravel support.

Stars
3,300
Forks
677
Open issues
29
Last commit
3 months ago

What is it?

Telegram Bot SDK is a PHP library for building bots that talk to the Telegram Bot API over HTTP. It wraps the API's methods so developers can send messages and handle incoming updates from PHP code instead of making raw requests.

The package is distributed through Composer and includes first-class integration with Laravel, so bots can be wired into a Laravel application as a package. Documentation is hosted on a dedicated website, with separate pages for the 2.x and 3.x releases. The 3.x line is the current supported version, and a 4.x version is noted as in development in a separate repository.

The project is released under the BSD 3-Clause license. It is maintained independently and is not affiliated with Telegram.

Key features

  • 01Wraps Telegram Bot API methods as PHP calls.
  • 02Installable via Composer.
  • 03Provides out-of-the-box Laravel integration.
  • 04Documented on a dedicated website with versioned docs.

Use cases

  • Building a Telegram bot in a PHP backend.
  • Adding Telegram notifications or chat commands to a Laravel application.
  • Prototyping conversational bots that respond to Telegram messages.

Things to know

  • Only the latest release (3.x) is supported; 2.x is no longer supported and 4.x is still in development.
  • The 3.x documentation is marked as still under construction.

In collections

Topics

FAQ

What is telegram-bot-sdk?
A PHP SDK for building Telegram bots on the Telegram Bot API, with built-in Laravel support. Telegram Bot SDK is a PHP library for building bots that talk to the Telegram Bot API over HTTP. It wraps the API's methods so developers can send messages and handle incoming updates from PHP code instead of making raw requests.
Is telegram-bot-sdk free to use? What license does it have?
telegram-bot-sdk is open source under the BSD-3-Clause license. Check the license terms before using it in commercial products.
Is telegram-bot-sdk still maintained?
Updated within 6 months. The last commit to telegram-bot-sdk was on Aug 20, 2026.
What can I use telegram-bot-sdk for?
Building a Telegram bot in a PHP backend. Adding Telegram notifications or chat commands to a Laravel application. Prototyping conversational bots that respond to Telegram messages.
Where can I get telegram-bot-sdk?
The source code and installation instructions are on GitHub: https://github.com/irazasyed/telegram-bot-sdk

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects