Skip to content

ArefShojaei/TGram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

 
 
 

Contributors

Languages