PHPackages                             al3x5/xbot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. al3x5/xbot

ActiveLibrary[Framework](/categories/framework)

al3x5/xbot
==========

telegram bot

v3.1.0(3mo ago)01071MITPHPPHP &gt;=8.2CI passing

Since Nov 1Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/al3x5dev/xbot)[ Packagist](https://packagist.org/packages/al3x5/xbot)[ RSS](/packages/al3x5-xbot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (29)Used By (1)

xBot
====

[](#xbot)

[![Telegram Bot API](https://camo.githubusercontent.com/4dcbe841a670f4177f99ed0006b3e6970e1a006a8353ce101fddb4e1ef0f8217/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d253230426f742532304150492d392e342d626c75653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4dcbe841a670f4177f99ed0006b3e6970e1a006a8353ce101fddb4e1ef0f8217/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d253230426f742532304150492d392e342d626c75653f7374796c653d666c61742d737175617265)[![GitHub Release](https://camo.githubusercontent.com/46e0631f2879420f3e5644d846ce9154f3466e7155f830b0a438fd423bbe8149/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616c3378356465762f78626f743f696e636c7564655f70726572656c6561736573267374796c653d666c61742d73717561726526636f6c6f723d626c7565)](https://camo.githubusercontent.com/46e0631f2879420f3e5644d846ce9154f3466e7155f830b0a438fd423bbe8149/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616c3378356465762f78626f743f696e636c7564655f70726572656c6561736573267374796c653d666c61742d73717561726526636f6c6f723d626c7565)[![GitHub code size in bytes](https://camo.githubusercontent.com/138db9c975b77ba45c43be2fd22471809b699fe116776d1a3ce746d1c7ad64e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f616c3378356465762f687474703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/138db9c975b77ba45c43be2fd22471809b699fe116776d1a3ce746d1c7ad64e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f616c3378356465762f687474703f7374796c653d666c61742d737175617265)[![GitHub License](https://camo.githubusercontent.com/142457f7c1a4c732ca3c44b5ce07695ae172c03a5928740a7bd7aff791863f01/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616c3378356465762f78626f743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/142457f7c1a4c732ca3c44b5ce07695ae172c03a5928740a7bd7aff791863f01/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616c3378356465762f78626f743f7374796c653d666c61742d737175617265)

**xBot** is a PHP library designed specifically to simplify the creation and management of Telegram bots. With a focus on ease of use and efficiency, **xBot** lets you focus on what really matters: implementing innovative and custom functionality for your bots.

Note

Before you start creating code, you must have created your bot in Telegram. If you don't know how to do it yet, don't worry! [Here's how to do it](https://telegra.ph/Instrucciones-para-crear-y-configurar-un-bot-en-BotFather-03-18).

Documentation
-------------

[](#documentation)

- [Installation and configuration](https://github.com/al3x5dev/xbot/blob/main/docs/install.md)
- [Command line interface](https://github.com/al3x5dev/xbot/blob/main/docs/cli.md)
- [Available Methods](https://github.com/al3x5dev/xbot/blob/main/docs/methods.md)
- [Command system](https://github.com/al3x5dev/xbot/blob/main/docs/commands.md)
- [Callbacks](https://github.com/al3x5dev/xbot/blob/main/docs/callbacks.md)
- [Handler System](https://github.com/al3x5dev/xbot/blob/main/docs/handlers.md)
- [Conversation flow](https://github.com/al3x5dev/xbot/blob/main/docs/conversation.md)
- [Keyboards](https://github.com/al3x5dev/xbot/blob/main/docs/keyboards.md)
- [Mesagge Format](https://github.com/al3x5dev/xbot/blob/main/docs/format.md)
- [Events Logger](https://github.com/al3x5dev/xbot/blob/main/docs/logger.md)
- [Middlewares](https://github.com/al3x5dev/xbot/blob/main/docs/middlewares.md)

Contributions
-------------

[](#contributions)

If you want to contribute to the development of **xBot**, here are some ways you can do it:

- Report bugs or problems you encounter.
- Share your ideas and suggestions.
- Contribute code or documentation.

License
-------

[](#license)

This project is licensed under the [MIT License](https://github.com/al3x5dev/xbot/blob/main/LICENSE).

Contact.
--------

[](#contact)

If you have any questions or comments, feel free to contact me via [Telegram](http://t.me/al3x5dev).

---

Thank you for considering **xBot** for your Telegram bot projects. We're excited to have you on board and hope you enjoy working with this library. Together we can build something great!

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance86

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~11 days

Total

26

Last Release

55d ago

Major Versions

v0.x-dev → v1.0-RC2025-03-18

v1.x-dev → v2.0.0-RC12025-04-07

v2.x-dev → v3.0.02026-02-10

v3.x-dev → v4.x-dev2026-03-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee7388f72cf6dfb30d963374d1faf32cdc320751d19c0dc0ce752a55179d1eb3?d=identicon)[Al3x5](/maintainers/Al3x5)

---

Top Contributors

[![al3x5dev](https://avatars.githubusercontent.com/u/139165436?v=4)](https://github.com/al3x5dev "al3x5dev (441 commits)")

---

Tags

botbot-developmentbot-frameworkchatbotphpphp8telegramtelegram-botxbot

### Embed Badge

![Health badge](/badges/al3x5-xbot/health.svg)

```
[![Health](https://phpackages.com/badges/al3x5-xbot/health.svg)](https://phpackages.com/packages/al3x5-xbot)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[laravel/nightwatch

The official Laravel Nightwatch package.

3526.1M13](/packages/laravel-nightwatch)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
