LaraGram
LaraGram copied to clipboard
LaraGram, an advanced framework for Telegram Bot development
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.
Config
- Support Local Bot Api Server
Terminal Commands
- Manage Resources
- Manage Webhook
- Manage Dependency*
- Manage Api Controller*
- Manage Models
- Manage Migrations
- Manage Factories
- Manage Seeders
- Manage WebServer
- Manage Service Provider
Request Methods
- Curl
- Non-Response Curl
Method
Databases
-
Laravel Eloquent (recommended & default)
- Model
- Migrations
- Factories
- Seeders
- Redis*
-
Json (exclusive)
- Model
- Migrations
Authentication & Accessibility
Helpers
Report bugs, help and support, suggestions and criticisms
Email - Telegram - Issues - Telegram Group