The Telegram integration for the Yii framework
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist onix/yii2-telegram "*"
or add
"onix/yii2-telegram": "*"
to the require section of your composer.json
file.
Apply migration
yii migrate/up --migrationPath=@vendor/onix/yii2-telegram/src/migrations
Once the extension is installed, simply use it in your code by :
<?= \onix\telegram\AutoloadExample::widget(); ?>```