This is an unoficial Symfony bundle for Api.ai based on iboldurev/api-ai-php Api.ai PHP SDK.
Install this bundle using composer:
$ composer require lpstudio/apiaibundleThen register your bundle in the AppKernel.php:
new LPStudio/ApiAIBundle/ApiAIBundle()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).