Download the PHP package andrew-gos/telegram-bot without Composer

On this page you can find all versions of the php package andrew-gos/telegram-bot. 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

Telegram Bot API Library

Latest Stable Version License PHP Version Require CI codecov

๐ŸŒŸ Overview

This is a powerful, strictly-typed PHP library for building Telegram bots. It fully leverages the capabilities of PHP 8.2+ and modern programming standards to make your development process fast, reliable, and enjoyable.

The library provides a complete toolset for interacting with the Telegram Bot API, allowing you to focus on your bot's logic rather than on low-level implementation details. At its core is a flexible update processing kernel built on HandlerGroup, Checker, and Middleware, ensuring exceptional modularity and extensibility.

โœจ Key Features

๐Ÿ“ฆ Installation

To install the library, use Composer:

๐Ÿ“š Documentation

To get started and explore the library's features in-depth, please refer to the following sections:

Section Description
๐Ÿš€ Basic Usage (BASIC.md) Start here. A step-by-step guide to creating your first bot and handling commands.
โš™๏ธ Advanced Usage (ADVANCED.md) Learn about Middleware, Plugins, custom Checkers, and other powerful tools.
๐Ÿงฉ Framework Integration
โ€ข Symfony (SYMFONY.md) A guide to setting up the library as a service in Symfony applications.
โ€ข Yii2 (YII2.md) A guide for integrating with the Yii2 framework's DI container.

๐Ÿค Contributing

Contributions are welcome and greatly appreciated! This project follows the standard GitHub fork & pull request workflow.

Reporting Bugs and Requesting Features

Submitting Code Changes

  1. Fork the repository on GitHub.
  2. Create a new branch for your changes (e.g. fix/message-parsing-error).
  3. Make your changes. Ensure your code adheres to the project's coding style.
  4. Run the code style fixer. This project uses php-cs-fixer. You can apply the style rules by running:

  5. Add or update tests. Your pull request should include tests that cover your changes.
  6. Submit a Pull Request to the master branch with a clear description of your changes.

๐Ÿ“œ License

This project is licensed under the MIT License. See the LICENSE file for details.


All versions of telegram-bot with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-ctype Version *
ext-curl Version *
andrew-gos/class-builder Version ^1.3.3
andrew-gos/serializer Version ^1.3
giggsey/libphonenumber-for-php Version ^9.0
psr/container Version ^2.0
psr/event-dispatcher Version ^1.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^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 andrew-gos/telegram-bot contains the following files

Loading the files please wait ...