iprit / botan-php
PHP SDK for Botan.io
v1.0.2
2015-08-11 14:59 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-11-13 11:21:14 UTC
README
Installation
To get started, get Composer.
Run:
$ php composer.phar require iprit/botan-php:*
or add
"iprit/botan-php": "*"
to the require
section of your composer.json
file.
Usage
Create Yandex.AppMetrica api token and insert into $token variable.
private $token = 'token'; public function _incomingMessage($message_json) { $messageObj = json_decode($message_json, true); $messageData = $messageObj['message']; $botan = new IPRIT\BotanSDK\Botan($this->token); $botan->track($messageData, 'Start'); }