PHPackages                             ybagheri/easytelegram - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ybagheri/easytelegram

ActiveLibrary[API Development](/categories/api)

ybagheri/easytelegram
=====================

Easy Telegram wrapper for Telegram Bots Api

0345[1 issues](https://github.com/ybagheri/easytelegram/issues)[1 PRs](https://github.com/ybagheri/easytelegram/pulls)HTMLCI failing

Since Apr 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ybagheri/easytelegram)[ Packagist](https://packagist.org/packages/ybagheri/easytelegram)[ RSS](/packages/ybagheri-easytelegram/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

EasyTelegram
============

[](#easytelegram)

Easy Telegram wrapper for Telegram Bots Api.

Usage
-----

[](#usage)

### Install Through Composer

[](#install-through-composer)

```
composer require ybagheri/easytelegram dev-master

```

### create .env file with this format:

[](#create-env-file-with-this-format)

```
BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11

```

Examples
--------

[](#examples)

setWebhook example. after set webhook use this example. you should set url of setwebhook address of this php file. for example,

here is bot.php example: if webhook is active.

```
