sonko-dmitry / botan-php-sdk
Wrapper for botan telengram bot analytics
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
This package is auto-updated.
Last update: 2024-11-21 20:55:01 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