PHPackages                             filippo-toso/botman-dialogflow - 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. [API Development](/categories/api)
4. /
5. filippo-toso/botman-dialogflow

ActiveLibrary[API Development](/categories/api)

filippo-toso/botman-dialogflow
==============================

A Dialogflow middleware for Botman that calls the API only if the current user is not in a conversation drastically reducing the number of calls to Dialogflow (and their cost)

v1.0.3(7y ago)0149MITPHPPHP &gt;=7.0

Since Aug 30Pushed 7y agoCompare

[ Source](https://github.com/filippotoso/botman-dialogflow)[ Packagist](https://packagist.org/packages/filippo-toso/botman-dialogflow)[ RSS](/packages/filippo-toso-botman-dialogflow/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Botman Dialogflow Middleware
============================

[](#botman-dialogflow-middleware)

A Dialogflow middleware for Botman that calls the API only if the current user is not in a conversation drastically reducing the number of calls to Dialogflow (and their cost)

Requirements
------------

[](#requirements)

- PHP 7.0+
- Laravel 5.4+
- Botman 2.0+

Installing
----------

[](#installing)

Use Composer to install it:

```
composer require filippo-toso/botman-dialogflow

```

Using It
--------

[](#using-it)

In your code, just replace the following use statement:

```
use BotMan\BotMan\Middleware\Dialogflow;

```

with the following one:

```
use FilippoToso\BotMan\Middleware\Dialogflow;

```

That's it! Now your bot will only call the Dialogflow API if the current user is not in a conversation.

A Fair Warning
--------------

[](#a-fair-warning)

If you need Dialogflow to trigger a "global" skip or stop conversation you can't use this middleware. But if your skip/stop conversation is triggered by a specific keyword or regular expression, you are good to go!

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Total

2

Last Release

2861d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55d89f2d44fb12225de2119994028ee69e36770bcf33c2b1ddf0d6672d28151b?d=identicon)[filippo.toso](/maintainers/filippo.toso)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/filippo-toso-botman-dialogflow/health.svg)

```
[![Health](https://phpackages.com/badges/filippo-toso-botman-dialogflow/health.svg)](https://phpackages.com/packages/filippo-toso-botman-dialogflow)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[rapidez/core

Rapidez Core

1822.4k66](/packages/rapidez-core)

PHPackages © 2026

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