# listens/bot.php
use LaraGram\Request\Request;
use LaraGram\Support\Facades\Bot;
Bot::onText('say {text}', function (Request $request, $text) {
$request->sendMessage(chat()->id, $text);
});LaraGram ships with complete documentation covering every major feature of the framework.
composer global require laraxgram/installer
laragram new my-bot- 🚀 MTProto
- 🤖 Telegram Mini Apps (TMA) Development
- 🌐 Web Routing
- 🔐 Permission System (Gate & Policy)
- 🧠 Caching (7 Drivers) + Step Manager
- 🔁 Fluent Collections
- 💬 Conversations
- ⚙️ Concurrency System
- 💻 Console Commands & Task Scheduling
- 📦 Rewritten Eloquent ORM with Multi-DB Support
- 📐 Migrations, Seeders & Factories
- 🔒 Crypt & Hash Systems
- 📢 Event Dispatcher
- 📁 File System
- 🧭 Listener System (Routing-style)
- 📝 Logging, Queues, Jobs, Redis, Validation & i18n
- 🤖 Multi-bot Support + Config/Cache Optimization