PHPackages                             fordsmh/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. fordsmh/zanzara

ActiveLibrary

fordsmh/zanzara
===============

Asynchronous PHP Telegram Bot Framework

069PHP

Since Nov 17Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

[![Bot API](https://camo.githubusercontent.com/78c72e19c0a75b70508f6d4ccc657ced4e4e75dd9a3b4f704c81827221b722f2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f426f742532304150492d352e3525323028446563656d62657225323032303231292d626c7565)](https://core.telegram.org/bots/api)[![PHP](https://camo.githubusercontent.com/679aff28ab6a4862d322cb611afe2a4c863d8d4f0e17f9a947eb10530a8a6843/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344372e332d626c7565)](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 badfarm/zanzara

```

### Quickstart

[](#quickstart)

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

```
