lpstudio/apiaibundle

A bundle for using api.ai

dev-master / 1.0.0.x-dev 2017-08-17 21:05 UTC

This package is not auto-updated.

Last update: 2024-04-28 02:00:44 UTC


README

This is an unoficial Symfony bundle for Api.ai based on iboldurev/api-ai-php Api.ai PHP SDK.

Install

Install this bundle using composer:

$ composer require lpstudio/apiaibundle

Then register your bundle in the AppKernel.php:

new LPStudio/ApiAIBundle/ApiAIBundle()

Configuration

Add these line to your app/config.yml:

api_ai:
    access_token: 'YOUR_ACCESS_TOKEN'

And replace YOUR_ACCESS_TOKEN with your Api.ai agent access token (use the dev access token in dev environment).