Botanalytics is a bot analytics service, improves Human-to-Bot interaction.
The package is made you easy to integrate the service.
To get the latest version
composer require vohinc/botanalytics-php
<?php
use Vohinc\BotanalyticsPhp\Client;
use Vohinc\BotanalyticsPhp\Drivers\Facebook;
$client = new Client('botanalytics-token');
$client->setDriver(new Facebook());
$client->request([
'recipient' => 'Sender ID', // (should be null for the incoming messages)
'message' => [], // Facebook incoming message structure
]);
This package is licensed under the MIT license.