Download the PHP package makhnanov/php-telegram-bot without Composer
On this page you can find all versions of the php package makhnanov/php-telegram-bot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download makhnanov/php-telegram-bot
More information about makhnanov/php-telegram-bot
Files in makhnanov/php-telegram-bot
Download makhnanov/php-telegram-bot
More information about makhnanov/php-telegram-bot
Files in makhnanov/php-telegram-bot
Vendor makhnanov
Package php-telegram-bot
Short Description PHP 8.5.2 Telegram Bot API Library.
License MIT
Package php-telegram-bot
Short Description PHP 8.5.2 Telegram Bot API Library.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-telegram-bot
PHP Telegram Bot Library
Installation
Long Polling Example
Philosophy
- Minimalism: only what's necessary, no bloat
- Conciseness: user code should be short
- Readability: library source code is understandable without documentation
- PHP 8.5: leverage all modern language features
Structure
Design Principles
1. One Bot class - one entry point
2. Named arguments everywhere
3. Global helper for scripts
4. Types are simple readonly classes
5. API methods as traits
Each method in a separate trait, Bot uses them:
6. Method chaining for convenience
Anti-patterns
- Using global application state (variables, functions, constants)
- Syntactic sugar (various helpers that help write less code)
All versions of php-telegram-bot with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.5
ext-curl Version *
ext-curl Version *
The package makhnanov/php-telegram-bot contains the following files
Loading the files please wait ...