A pure Python, asynchronous wrapper for the Telegram Bot API, with high-level classes in telegram.ext for building bots.
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
An asynchronous Python framework for building chatbots that connect to multiple chat platforms through pluggable protocol adapters.
A PHP framework for building Telegram bots, with handlers, middleware, conversations, and support for the full Telegram Bot API.
Laravel package that adds a Telegram channel so notifications can be sent through the Telegram Bot API.
A cross-platform chatbot framework in TypeScript with a web console and plugin ecosystem for building bots across chat platforms.
A single-file Telegram bot that runs ChatGPT and other AI providers on Cloudflare Workers, serverless with no local setup.