Home
Softono
telegram-bot-sdk

telegram-bot-sdk

Open source BSD-3-Clause PHP
328
Stars
40
Forks
10
Issues
14
Watchers
3 months
Last Commit

About telegram-bot-sdk

Telegram Bot API PHP SDK is a comprehensive library designed to simplify the development of Telegram bots using PHP. Version 4.x introduces a streamlined architecture that supports the full range of Telegram Bot API features via an HTTP-based interface. The SDK provides an intuitive object-oriented approach to handle updates, send messages, manage media, and interact with the Telegram platform efficiently. It includes dedicated support for the Laravel framework through a separate optional package, offering service providers and specific helpers to integrate bot functionality seamlessly into Laravel applications. The project represents a major evolution from its predecessor, featuring a renamed namespace for improved clarity and modularity. Developers can leverage the SDK to build everything from simple notification bots to complex multi-functional chat applications. The software is open-source under the BSD 3-Clause license and maintains a robust community with active contributions, security policies, and ext

Platforms

Web Self-hosted

Languages

PHP

Telegram Bot SDK

Join PHP Chat Chat on Telegram Build Status Latest Version Total Downloads

Telegram Bot API - PHP SDK

Telegram Bot SDK lets you develop Telegram Bots in PHP easily! Supports Laravel framework and comes with addons to enhance your bot development experience.

Telegram Bot API 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 and Bot FAQ on Telegram's official site.

To get started writing your bots using Telegram Bot SDK, please refer the SDK Documentation.

NOTE: SDK has been migrated from the original repo irazasyed/telegram-bot-sdk since 4.x.

Usage

Documentation for the SDK can be found on the website.

Upgrade from version <4.x

Starting from version 4.x, the project has been renamed from irazasyed/telegram-bot-sdk to telegram-bot-sdk/telegram-bot-sdk.

In order to receive the new version and future updates, you need to rename it in your composer.json:

"require": {
-    "irazasyed/telegram-bot-sdk": "(version you use)",
+    "telegram-bot-sdk/telegram-bot-sdk": "(version you use)",
}

Laravel

Laravel service provider in addition to various other Laravel specific features have been moved to its own package.

"require": {
-    "irazasyed/telegram-bot-sdk": "(version you use)",
+    "telegram-bot-sdk/laravel": "^4.0",
}

and run composer update.

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 to share, discover, and learn more.

Contributing

Thank you for considering contributing to the project. Please read the contributing guide before creating an issue or sending in a pull request.

Code of Conduct

Please read our Code of Conduct before contributing or engaging in discussions.

Security

If you discover a security vulnerability within this project, please email Syed at security at telegram-bot-sdk.com. All security vulnerabilities will be promptly addressed. You may view our full security policy here.

Credits

Disclaimer

The Telegram Bot SDK is a third-party library and is not associated with, endorsed by, or affiliated with Telegram or its products. For more details, please read the Disclaimer

License

This project is open-sourced software licensed under the BSD 3-Clause license.