PHPackages                             kix/zanzara - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. kix/zanzara

ActiveLibrary[Queues &amp; Workers](/categories/queues)

kix/zanzara
===========

Asynchronous PHP Telegram Bot Framework

0.9.2(1y ago)04[4 issues](https://github.com/kix/zanzara/issues)MITPHPPHP ^8.0CI failing

Since Feb 18Pushed 3mo agoCompare

[ Source](https://github.com/kix/zanzara)[ Packagist](https://packagist.org/packages/kix/zanzara)[ RSS](/packages/kix-zanzara/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (28)Versions (7)Used By (0)

 [![](https://github.com/kix/zanzara/raw/develop/zanzara_logo.png)](https://github.com/kix/zanzara/blob/develop/zanzara_logo.png)

Asynchronous PHP Telegram Bot Framework built on top of [ReactPHP](https://reactphp.org/)

**NOTE: This is a fork of [the original repository](https://github.com/badfarm/zanzara)**

The original maintainer does not seem to actively contribute to the project anymore. If my merge requests get accepted, I'll close this down and deprecate it in favour of the original library.

[![Bot API](https://camo.githubusercontent.com/199523ac3527b502eec56be7b5327518e4d6d9bd97a3d9fa7736e9ead9fe9c71/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f426f742532304150492d362e36253230284d6172636825323032303233292d626c7565)](https://core.telegram.org/bots/api)[![PHP](https://camo.githubusercontent.com/c3362351d1264fd924675776c4f8307bf5f229fa15cbbd49d020909278dadb3a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344372e342d626c7565)](https://www.php.net/)[![Build](https://github.com/badfarm/zanzara/actions/workflows/build.yml/badge.svg)](https://github.com/badfarm/zanzara/actions/workflows/build.yml)[![Code style](https://camo.githubusercontent.com/baa83f7f7ce3b4e3f0e5510e7ce7c7acddf98134a9b6eebc49ba5accecedfb1b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d7374616e646172642d677265656e)](https://www.php-fig.org/psr/psr-2/)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://github.com/badfarm/zanzara/blob/develop/LICENSE.md)

---

### Features

[](#features)

- Long polling support (no webserver required)
- Middleware chain for requests
- Conversations and sessions (no database required)
- Based on [ReactPHP](https://reactphp.org/) asynchronous non-blocking I/O model
- Scheduled functions/timers provided by ReactPHP
- Bulk message sending (no more 429 annoying errors)

### Installation

[](#installation)

```
composer require kix/zanzara

```

### Quickstart

[](#quickstart)

Create a file named `bot.php` and paste the following code:

```
