Download the PHP package gekkone/telegram-bot-php-core without Composer

On this page you can find all versions of the php package gekkone/telegram-bot-php-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package telegram-bot-php-core

Build Status Code Quality Code Intelligence Status Code Coverage

Latest Stable Version Code Size Downloads License


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

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:

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 telegram-bot-php-core with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-json Version *
ext-curl Version *
ext-mbstring Version *
symfony/dotenv Version ^v6.1.0
shahradelahi/easy-http Version ~v1.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gekkone/telegram-bot-php-core contains the following files

Loading the files please wait ....