Download the PHP package telegram-bot-php/core without Composer
On this page you can find all versions of the php package telegram-bot-php/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download telegram-bot-php/core
More information about telegram-bot-php/core
Files in telegram-bot-php/core
Package core
Short Description A PHP library that makes using Telegram Bot API much easier.
License MIT
Homepage https://github.com/telegram-bot-php/core
Informations about the package core
Telegram Bot PHP
This library is a simple and easy to use library for creating Telegram API Bots, and this library is designed to provide a platform where one can simply write a bot and have interactions in a matter of minutes.
Table of Contents
- Introduction
- Installation
- Getting started
- Webhook
- Use self-signed certificate
- Delete webhook
- Update Handling
- Anonymous plugins and handlers
- Create a handler for updates
- Filter incoming updates
- Plugins
- Create plugin for Handler class
- Available events and methods
- Supports
- Logging
- Error Handling
- Example bot
- Troubleshooting
- Code of Conduct
- Contributing
- License
Introduction
This is an official announcement of support, which allows integrators of all sorts to bring automated interactions with the Telegram Bot API to their users.
This library features:
- The easiest and simplest way for update handling
- Support for all types and methods according to Telegram Bot API 6.0
- Handling
WebAppData
and data encryption/validation - Crash handling and error reporting
- The ability to create advanced
Plugins
with theirasynchronous
methods - The ability to manage Channels from the bot admin interface
- Downloading and uploading large files
- Full support for inline bots
- Inline keyboard support
- And many more...
Installation
Click for help with installation
## Install Composer If the above step didn't work, install composer and try again. #### Debian / Ubuntu Composer not found? Use this command instead: #### Windows: [Download installer for Windows](https://getcomposer.org/doc/00-intro.md#installation-windows)Getting started
Webhook
Create set-hook.php
with the following contents:
Use self-signed certificate
Delete webhook
Update Handling
Create a handler for updates
Filter incoming updates
Filtering incoming updates by their type is easy.
Or just go advanced:
Plugins
The Plugins are a way to create a bot that can do more than just echo back the message.
Create plugin for Handler class
Anonymous plugins and handlers
Available events and methods
Supports
This library supports evey Telegram Bot API method and entity since API version 6.0.
Error Handling
Using CrashPad for reporting error through telegram. just add below to your Update handler.
Troubleshooting
Please report any bugs you find on the issues page.
Code of Conduct
The Telegram-Bot-PHP Code of Conduct can be found at this document.
Contributing
Thank you for considering contributing to this project. please open an issue or pull request if you have any suggestions or just email [email protected].
License
The Telegram-Bot-PHP library is open-sourced under the MIT license.
All versions of core with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.8
symfony/dotenv Version ^v7.1