PHPackages                             foremtehan/tg-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. foremtehan/tg-sdk

ActiveLibrary

foremtehan/tg-sdk
=================

The Unofficial Telegram Bot API PHP SDK

0730PHP

Since Dec 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/foremtehan/tg-sdk)[ Packagist](https://packagist.org/packages/foremtehan/tg-sdk)[ RSS](/packages/foremtehan-tg-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Telegram Bot API PHP SDK](https://user-images.githubusercontent.com/1915268/75023827-7879f780-54be-11ea-98c1-436a14e7e633.png)](https://github.com/irazasyed/telegram-bot-sdk)

[![Join PHP Chat](https://camo.githubusercontent.com/76c0bc03501852383181f4653670530cc4c382321d1653c684b7330114c6949e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536c61636b2d504850253230436861742d3563366161612e7376673f6c6f676f3d736c61636b266c6162656c436f6c6f723d344131353442267374796c653d666f722d7468652d6261646765)](https://phpchat.co)[![Chat on Telegram](https://camo.githubusercontent.com/d58747d0cb915aa20266c3dff6b73bc6a1194b0b33d0da2c0585160dc3dee9b1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436861742d6f6e25323054656c656772616d2d3243413545302e7376673f6c6f676f3d74656c656772616d267374796c653d666f722d7468652d6261646765)](https://t.me/PHPChatCo)[![Build Status](https://camo.githubusercontent.com/4a07fc3a2a96634bc7a90e563173a63fae1533c9a14c8939cc7430891f5e5d14/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6972617a61737965642f74656c656772616d2d626f742d73646b2f43492e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/irazasyed/telegram-bot-sdk/actions)[![Latest Version](https://camo.githubusercontent.com/b9100bb90a3487f523251da89ff74b33a8436c4e5062a8ef5da7565747831671/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6972617a61737965642f74656c656772616d2d626f742d73646b2e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/irazasyed/telegram-bot-sdk/releases)[![Total Downloads](https://camo.githubusercontent.com/83d43cefc42c75d184bbc29f5129b261c53ee7081cf4efd813a4524b36a04a0e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6972617a61737965642f74656c656772616d2d626f742d73646b2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/irazasyed/telegram-bot-sdk)

Telegram Bot API - PHP SDK
==========================

[](#telegram-bot-api---php-sdk)

> Telegram Bot PHP SDK lets you develop Telegram Bots in PHP easily! Supports Laravel out of the box.
>
> [Telegram Bot API](https://core.telegram.org/bots) is an HTTP-based interface created for developers keen on building bots for Telegram.
>
> To learn more about the Telegram Bot API, please consult the [Introduction to Bots](https://core.telegram.org/bots) and [Bot FAQ](https://core.telegram.org/bots/faq) on official Telegram site.
>
> To get started writing your bots using this SDK, Please refer the [documentation](https://telegram-bot-sdk.readme.io/docs).

Documentation
-------------

[](#documentation)

Documentation for the SDK can be found on the [website](https://telegram-bot-sdk.readme.io/docs).

Are You Using Telegram Bot SDK?
-------------------------------

[](#are-you-using-telegram-bot-sdk)

If you're using this SDK to build your Telegram Bots or have a project that's relevant to this SDK, We'd love to know and share it with the world.

Head over to [Awesome Telegram Bots](https://github.com/telegram-bot-sdk/awesome-telegram-bots) to share, discover, and learn more.

Additional information
----------------------

[](#additional-information)

Any issues, feedback, suggestions or questions please use issue tracker [here](https://github.com/irazasyed/telegram-bot-sdk/issues).

Contributing
------------

[](#contributing)

Thank you for considering contributing to the project. Please review the [CONTRIBUTING](https://telegram-bot-sdk.readme.io/docs/contributing) guidelines before submitting any pull requests.

Credits
-------

[](#credits)

- [Syed Irfaq R.](https://github.com/irazasyed)
- [All Contributors](https://github.com/irazasyed/telegram-bot-sdk/contributors)

Thanks
------

[](#thanks)

Thanks to these companies for providing access to their products that have been very useful in developing this SDK. Please go check them out!

[![JetBrains](https://user-images.githubusercontent.com/1915268/74379552-06464a80-4e0e-11ea-9dfa-2b4f17d6f184.png)](https://www.jetbrains.com/?from=telegram-bot-sdk)[![1Password](https://user-images.githubusercontent.com/1915268/80118353-e79ac780-85a5-11ea-9447-6be9090ca8de.png)](https://1password.com/?utm_source=telegram-bot-sdk)

Disclaimer
----------

[](#disclaimer)

This project and its author is neither associated, nor affiliated with [Telegram](https://telegram.org/) in anyway. See License section for more details.

License
-------

[](#license)

This project is released under the [BSD 3-Clause](https://github.com/irazasyed/telegram-bot-sdk/blob/master/LICENSE) License.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9092aaa511ac9eaa7c3bbf17931e63187e38bb84d80ee4fa92dbe374bea2b269?d=identicon)[foremtehan](/maintainers/foremtehan)

---

Top Contributors

[![foremtehan](https://avatars.githubusercontent.com/u/53290883?v=4)](https://github.com/foremtehan "foremtehan (11 commits)")

### Embed Badge

![Health badge](/badges/foremtehan-tg-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/foremtehan-tg-sdk/health.svg)](https://phpackages.com/packages/foremtehan-tg-sdk)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
