PHPackages                             idk/yii2-botman - 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. [Caching](/categories/caching)
4. /
5. idk/yii2-botman

ActiveYii2-extension[Caching](/categories/caching)

idk/yii2-botman
===============

Yii2 bindings for Botman

1.0.0(8y ago)34.5kMITPHP

Since Jan 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/idk-tn/yii2-botman)[ Packagist](https://packagist.org/packages/idk/yii2-botman)[ Docs](https://github.com/idk-tn/yii2-botman)[ RSS](/packages/idk-yii2-botman/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

yii2-botman
===========

[](#yii2-botman)

Yii2 bindings for [Botman](https://github.com/botman/botman).

[![Latest Stable Version](https://camo.githubusercontent.com/b9f854c705db855af9bd2a36a2d2df5a1b5b3a255690036a18e353a9ce3f0234/68747470733a2f2f706f7365722e707567782e6f72672f69646b2f796969322d626f746d616e2f76657273696f6e3f)](https://packagist.org/packages/idk/yii2-botman)[![Latest Unstable Version](https://camo.githubusercontent.com/cb5d447c267764fa0bd4b0d6d0b35c25a20addca7c0d951e35686d561255a540/68747470733a2f2f706f7365722e707567782e6f72672f69646b2f796969322d626f746d616e2f762f756e737461626c653f)](//packagist.org/packages/idk/yii2-botman)[![License](https://camo.githubusercontent.com/255df26b7e85c924534c535c9b31bf2d0a539bba55ecb56c1f04215047a8fd01/68747470733a2f2f706f7365722e707567782e6f72672f69646b2f796969322d626f746d616e2f6c6963656e73653f)](https://packagist.org/packages/idk/yii2-botman)[![Total Downloads](https://camo.githubusercontent.com/f42cb84a7dbfa836c2b41621236c4f30d80e22d960764393b0b5f567ce23ecc8/68747470733a2f2f706f7365722e707567782e6f72672f69646b2f796969322d626f746d616e2f646f776e6c6f6164733f)](https://packagist.org/packages/idk/yii2-botman)[![Build Status](https://camo.githubusercontent.com/39564f2ee590fe2a6d6f25b445db5e8403a2149e1b139abb4bbc3d3768917992/68747470733a2f2f7472617669732d63692e6f72672f69646b2d746e2f796969322d626f746d616e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/idk-tn/yii2-botman)[![codecov](https://camo.githubusercontent.com/d2980757c64e7adf42da97244310143f0c1cd7a405851ac3b537c16a130ba727/68747470733a2f2f636f6465636f762e696f2f67682f69646b2d746e2f796969322d626f746d616e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/idk-tn/yii2-botman)

Installation
------------

[](#installation)

The preferred method of installation is via [Packagist](https://packagist.org/) and [Composer](https://getcomposer.org/download/). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require idk/yii2-botman
```

Usage
-----

[](#usage)

In order to use Yii2 caching system with Botman, initialize your `Botman` instance using this:

```
// create an instance
$botman = BotManFactory::create($botmanConfig, new \idk\yii2\botman\Cache());
```

Cache storage
-------------

[](#cache-storage)

By default, `yii2-botman` will use the default configured `Yii::$app->cache` component. If you need to use a dedicated cache interface for Botman, you can define it in the `botmanCache` component like the following:

```
'components' => [
    // default cache used by your app
    'cache' => [
        'class' => 'yii\caching\DbCache',
    ],
    // specific cache for botman
    'botmanCache' => [
        'class' => 'yii\caching\FileCache',
        'cachePath' => '@runtime/botman',
    ],
]
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50430982793b695a5a9a886a81b976606c71062b49cf38c12509801b1845b1b2?d=identicon)[machour](/maintainers/machour)

---

Top Contributors

[![machour](https://avatars.githubusercontent.com/u/304450?v=4)](https://github.com/machour "machour (14 commits)")

---

Tags

cacheyii2Botman

### Embed Badge

![Health badge](/badges/idk-yii2-botman/health.svg)

```
[![Health](https://phpackages.com/badges/idk-yii2-botman/health.svg)](https://phpackages.com/packages/idk-yii2-botman)
```

###  Alternatives

[devgroup/yii2-tag-dependency-helper

Helper for unifying cache tag names with invalidation support in yii2

32520.9k7](/packages/devgroup-yii2-tag-dependency-helper)[undefinedor/yii2-cached-active-record

The cached activeRecord for the Yii2 framework

102.6k](/packages/undefinedor-yii2-cached-active-record)

PHPackages © 2026

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