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. filippo-toso/botman-dialogflow

ActiveLibrary

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 2d 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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

2814d ago

### Community

Maintainers

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

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

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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