PHPackages                             naffiq/telegram-channel-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. naffiq/telegram-channel-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

naffiq/telegram-channel-php
===========================

Post to your telegram channel with ease!

v1.0.2(8y ago)124.2k↓50%5MITPHP

Since Aug 25Pushed 8y ago3 watchersCompare

[ Source](https://github.com/naffiq/telegram-channel-php)[ Packagist](https://packagist.org/packages/naffiq/telegram-channel-php)[ RSS](/packages/naffiq-telegram-channel-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Telegram Channel PHP
====================

[](#telegram-channel-php)

[![Build Status](https://camo.githubusercontent.com/560b40827f29f7178ab93b309a28db0cfd6ec29d8171f6fbf711c6c6cea5986f/68747470733a2f2f7472617669732d63692e6f72672f6e61666669712f74656c656772616d2d6368616e6e656c2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/naffiq/telegram-channel-php)[![Code Climate](https://camo.githubusercontent.com/6737b77362caf1b1e665094b71307a7666a416b75bb8d6fa29f5c493726b684d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e61666669712f74656c656772616d2d6368616e6e656c2d7068702f6261646765732f6770612e737667)](https://codeclimate.com/github/naffiq/telegram-channel-php)[![Test Coverage](https://camo.githubusercontent.com/5e738247f3ea676c3c706e5c276271473de32ac8594c912e62faa41341898213/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6e61666669712f74656c656772616d2d6368616e6e656c2d7068702f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/naffiq/telegram-channel-php/coverage)

This little lib (1 class only!) helps you to push messages to your telegram channel via bot.

Installation
------------

[](#installation)

In order to install use composer:

```
$ composer require naffiq/telegram-channel-php

```

Usage
-----

[](#usage)

1. Create bot via [BotFather](https://t.me/botfather) and get `BOT_TOKEN` from it
2. Add it as an admin to your channel
3. Follow examples below to post messages or photos:

#### Post message

[](#post-message)

```
