PHP Telegram Bot

Maintainers

Package info

github.com/ArefShojaei/TGram

pkg:composer/arefshojaei/tgram

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-05-05 19:06 UTC

This package is auto-updated.

Last update: 2026-05-16 13:43:11 UTC


README

PHP Telegram Bot

A Powerful PHP library for making own Telegram bot easily!

<?php

require __DIR__ . "/vendor/autoload.php";

use TGram\{Telegram, Context};


$app = new Telegram("TOKEN");

$app->start(function(Context $ctx) {
    $ctx->sendMessage("Hello");
});

$app->run();

Installation

Two ways for installing & using the library

Clone this repository

git clone https://github.com/ArefShojaei/TGram/TGram.git

OR

Composer installer

composer require arefshojaei/tgram