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
==========

Build powerful Telegram bots with ease

4.4.0(1mo ago)11341MITPHPPHP &gt;=8.2CI passing

Since Nov 1Pushed 1mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (27)Versions (38)Used By (1)

xBot
====

[](#xbot)

[![Telegram Bot API](https://camo.githubusercontent.com/2253c5edfc9ebde43bf4e556c0e9816f96c7db68547fce89c4df76007e45d179/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d253230426f742532304150492d31302e302d626c75653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2253c5edfc9ebde43bf4e556c0e9816f96c7db68547fce89c4df76007e45d179/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d253230426f742532304150492d31302e302d626c75653f7374796c653d666c61742d737175617265)[![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/handler.md)
- [Conversation flow](https://github.com/al3x5dev/xbot/blob/main/docs/conversation.md)
- [Keyboards](https://github.com/al3x5dev/xbot/blob/main/docs/keyboards.md)
- [Message 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

48

—

FairBetter than 93% of packages

Maintenance92

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

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 ~16 days

Recently: every ~1 days

Total

35

Last Release

37d 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.1.0 → v4.0.02026-04-19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3009000?v=4)[Al3x5](/maintainers/Al3x5)[@al3x5](https://github.com/al3x5)

---

Top Contributors

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

---

Tags

botbot-developmentbot-frameworkchatbotphpphp8telegramtelegram-botxbotframeworkwebhookbottelegramtelegram bottelegram api

###  Code Quality

TestsPHPUnit

### 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.8k543.8M20.1k](/packages/laravel-framework)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[silverstripe/framework

The SilverStripe framework

7313.7M2.8k](/packages/silverstripe-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[laravel/nightwatch

The official Laravel Nightwatch package.

36210.1M36](/packages/laravel-nightwatch)

PHPackages © 2026

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