sonko-dmitry / botan-php-sdk
Wrapper for botan telengram bot analytics
Package info
github.com/SonkoDmitry/botan-php-sdk
Type:yii2-extension
pkg:composer/sonko-dmitry/botan-php-sdk
v1.0.0
2015-08-07 17:04 UTC
This package is auto-updated.
Last update: 2026-03-21 23:51:33 UTC
README
This extension is the way to integrate Botan.io to you application.
Installation
The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require sonko-dmitry/botan-php-sdk:*
or add
"sonko-dmitry/botan-php-sdk": "*"
to the require section of your composer.json file.
Usage
- Now you can use wrapper
$tracker = new SonkoDmitry\BotanSDK\BotanTracker(1234567); $tracker->track(123, ['text' => 'Hello world!'], 'Message');
Where "1234567" your Yandex.Appmetrica api token. 123 unique customer ID, for example chat_id or sender_id