telegram-bot-sdk / telegram-bot-sdk
The Telegram Bot API PHP SDK
Installs: 73 796
Dependents: 4
Suggesters: 0
Security: 0
Stars: 253
Watchers: 19
Forks: 33
Open Issues: 6
Requires
- php: ^7.2
- guzzlehttp/guzzle: ^6.1
- guzzlehttp/psr7: ^1.3
- illuminate/support: ^5.5 || ^6.0 || ^7.0
- league/event: ^2.1
Requires (Dev)
- phpunit/phpunit: ^8.5
Suggests
- illuminate/container: Hold dependencies to be injected in commands constructors
- irazasyed/larasupport: Allows you to use any Laravel Package in Lumen by adding support!
README
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.