PHPackages                             hybridgram/tgbot-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. hybridgram/tgbot-laravel

ActiveLibrary[API Development](/categories/api)

hybridgram/tgbot-laravel
========================

Super fast package for Laravel to build Telegram bots powered by Go

0.2.0(4mo ago)1033MITPHPPHP ^8.4CI passing

Since Jan 26Pushed 3mo agoCompare

[ Source](https://github.com/hybridgram/tgbot-laravel)[ Packagist](https://packagist.org/packages/hybridgram/tgbot-laravel)[ RSS](/packages/hybridgram-tgbot-laravel/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (14)Versions (16)Used By (0)

HybridGram
==========

[](#hybridgram)

Laravel toolkit for fast Telegram bots creation with Go-powered webhook updating.

[![Header image](assets/header.jpg "Text to show on mouseover")](assets/header.jpg)

[![Latest Stable Version](https://camo.githubusercontent.com/4c2358df830a629a7cb023ead6afef0c5735f0b81dd30357adb3ed4f161c43de/687474703a2f2f706f7365722e707567782e6f72672f6879627269646772616d2f7467626f742d6c61726176656c2f76)](https://packagist.org/packages/hybridgram/tgbot-laravel)[![Total Downloads](https://camo.githubusercontent.com/cba74372c3bc3a0ba2be4f79e04a8d4fb1cf80d4bfb3fb6fc1ff08027a67efd2/687474703a2f2f706f7365722e707567782e6f72672f6879627269646772616d2f7467626f742d6c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/hybridgram/tgbot-laravel)[![PHP Version Require](https://camo.githubusercontent.com/5a96dd2565dc82e4ea6b1c60ed7abeea5c84852abe4bbf7cd1a14d883ebccf54/687474703a2f2f706f7365722e707567782e6f72672f6879627269646772616d2f7467626f742d6c61726176656c2f726571756972652f706870)](https://packagist.org/packages/hybridgram/tgbot-laravel)[![Static analysis](https://github.com/hybridgram/tgbot-laravel/actions/workflows/static_analysis.yml/badge.svg)](https://github.com/hybridgram/tgbot-laravel/actions/workflows/static_analysis.yml)[![Tests status](https://github.com/hybridgram/tgbot-laravel/actions/workflows/tests.yml/badge.svg)](https://github.com/hybridgram/tgbot-laravel/actions/workflows/tests.yml)

Quick start
-----------

[](#quick-start)

```
composer require hybridgram/tgbot-laravel
php artisan vendor:publish --provider="HybridGram\Providers\TelegramServiceProvider"
```

Set `BOT_TOKEN` (and optional `BOT_ID`, `BOT_NAME`) in `.env`. Routing defaults to `routes/telegram.php`.

Minimal working example
-----------------------

[](#minimal-working-example)

`routes/telegram.php`

```
