alexeevdv/yii2-telegram

Telegram component for Yii2

Installs: 1 817

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.0 2017-03-24 07:16 UTC

This package is auto-updated.

Last update: 2021-12-29 02:34:25 UTC


README

Telegram component for Yii2.

Installation

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require alexeevdv/yii2-telegram "1.0.0"

or add

"alexeevdv/yii2-telegram": "1.0.0"

to the require section of your composer.json file.

Configuration

Through application component

"components" => [
    //...
    "telegram" => [
        "class" => "alexeevdv\telegram\Telegram",
        "host" => "DAEMON_HOST",
        "port" => "DAEMON_PORT"
    ],
    //...
],