Skip to content

Latest commit

 

History

History
98 lines (84 loc) · 4.25 KB

readme.md

File metadata and controls

98 lines (84 loc) · 4.25 KB

A Fresh Start with the Rewritten LaraGram

Some changes include:

  • Addition of a container for dependency management
  • Addition of service providers
  • Addition of facades for easy access to methods
  • Addition of commands for simple usage of the framework

From now on, LaraGram is truly a Framework!

# App/Resources/bot.php

use LaraGram\Request\Request;
use LaraGram\Support\Facades\Bot;

Bot::onText('hello', function (Request $request) {
    $request->sendMessage($request->message->chat->id, 'hi');
});

✳️ Installation :

composer create-project laraxgram/laragram my-bot

⭐ Features & 📙 Document :

Some of the following features have not yet been added to version 2 and are being rewritten. They are marked with *. All of them will be added in the next few steps.


  • Support Local Bot Api Server

Terminal Commands


  • Curl
  • Non-Response Curl

Method







LaraGram


Report bugs, help and support, suggestions and criticisms

Email - Telegram - Issues - Telegram Group


Version 2.0.0