PHPackages                             iansltx/api-ai-bridge - 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. iansltx/api-ai-bridge

Abandoned → [iansltx/dialogflow-bridge](/?search=iansltx%2Fdialogflow-bridge)Library[API Development](/categories/api)

iansltx/api-ai-bridge
=====================

A set of middlewares + helpers for responding to Dialogflow web hooks

0.3(8y ago)162MITPHPPHP &gt;=7.1

Since Sep 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/iansltx/dialogflow-bridge)[ Packagist](https://packagist.org/packages/iansltx/api-ai-bridge)[ Docs](https://github.com/iansltx/dialogflow-bridge)[ RSS](/packages/iansltx-api-ai-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Dialogflow Bridge
=================

[](#dialogflow-bridge)

A middleware + helper objects for responding to Dialogflow webhooks.

Requirements + Installation
---------------------------

[](#requirements--installation)

To take full advantage of this library, you'll need:

1. A PSR-11 (formerly Container Interop) compatible container to pull dependencies from.
2. A framework that either uses double-pass middlewares (e.g. Slim 3) or the proposed PSR-15 middleware (e.g. Zend Expressive 2.0+), using PSR-7 requests and responses, to use the middleware component.

To install, use Composer:

```
composer require iansltx/dialogflow-bridge

```

Getting Started
===============

[](#getting-started)

The easiest way to integrate this library is by adding it as a route middleware to a supported (micro)framework. For example, with Slim 3:

```
