Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 548 Bytes

File metadata and controls

26 lines (20 loc) · 548 Bytes

Api.ai Symfony Bundle

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).