vohinc/botanalytics-php

Botanalytics for PHP application

Installs: 4 128

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/vohinc/botanalytics-php

v0.1.2 2017-01-31 14:25 UTC

This package is auto-updated.

Last update: 2025-09-26 04:36:51 UTC


README

Build Status StyleCI

Botanalytics is a bot analytics service, improves Human-to-Bot interaction.

The package is made you easy to integrate the service.

Install

Composer

To get the latest version

composer require vohinc/botanalytics-php

Usage

Facebook Messenger Driver

<?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
]);

License

This package is licensed under the MIT license.