PHPackages                             mollsoft/web-telegram-bot - 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. mollsoft/web-telegram-bot

ActiveLibrary

mollsoft/web-telegram-bot
=========================

Create Telegram Bots in Laravel similar to creating a website.

v1.0.8(2y ago)2231MITPHPPHP &gt;=8.2

Since Dec 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mollsoft/web-telegram-bot)[ Packagist](https://packagist.org/packages/mollsoft/web-telegram-bot)[ Docs](https://github.com/mollsoft/web-telegram-bot)[ RSS](/packages/mollsoft-web-telegram-bot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (5)Versions (9)Used By (0)

[![Pest Laravel Expectations](https://camo.githubusercontent.com/44fb5e9ba99e89a5bf788a51c478e892ff6590fbb70c9f4b22af3ee009325d0e/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f57656225323054656c656772616d253230426f742e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6d6f6c6c736f66742532467765622d74656c656772616d2d626f74267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4d616b652b54656c656772616d2b426f74732b6c696b652b576562736974652b7573696e672b4c61726176656c266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)](https://camo.githubusercontent.com/44fb5e9ba99e89a5bf788a51c478e892ff6590fbb70c9f4b22af3ee009325d0e/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f57656225323054656c656772616d253230426f742e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d6d6f6c6c736f66742532467765622d74656c656772616d2d626f74267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4d616b652b54656c656772616d2b426f74732b6c696b652b576562736974652b7573696e672b4c61726176656c266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)

[ ![Latest Version on Packagist](https://camo.githubusercontent.com/6f0ff5d2ab6db6f6f84b641b43f65bbfc9df5d32e22fa90485ca1bfd00cd76ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f6c6c736f66742f7765622d74656c656772616d2d626f742e7376673f7374796c653d666c61742663616368655365636f6e64733d33363030)](https://packagist.org/packages/mollsoft/web-telegram-bot)[ ![Php Version](https://camo.githubusercontent.com/af3c14fed4241be47ccc899f006a8cddf0bd4f0ee21ac9b1ed280a351df75c08/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e322d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://www.php.net)[ ![Php Version](https://camo.githubusercontent.com/c052236cf00f5483f3811fcb9822473314014aabe3edab756a1bc55270897fdc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d2533453d31302d7265642e7376673f6d61784167653d32353932303030)](https://laravel.com/)[ ![Total Downloads](https://camo.githubusercontent.com/b98dc7ab27fb542277f8d3f2d5a175f90d5fa0e4b765d53d5d05458c1d871b35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f6c6c736f66742f7765622d74656c656772616d2d626f742e7376673f7374796c653d666c61742663616368655365636f6e64733d33363030)](https://packagist.org/packages/mollsoft/web-telegram-bot)[ ![Website](https://camo.githubusercontent.com/32092acc7d40888936c3ebeecec5d97294fed6ea1561fcbbcd17ec7a0a001c2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576562736974652d68747470733a2f2f6d6f6c6c736f66742e636f6d2d626c61636b)](https://mollsoft.com)[ ![Telegram](https://camo.githubusercontent.com/10db3b0fd4e2c0154cd02533cfc67c102acd88202857f79f950885ddaa0843e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d2d406d6f6c6c736f66742d626c7565)](https://t.me/mollsoft)---

**Web Telegram Bot** is a Laravel package for create Telegram Bots like Websites. Internal routing, sessions, forms, templates, layouts.

This module allows you to create Telegram bots using Laravel and Telegraph package similar to creating a website.

You can contact me for help.

Installation
============

[](#installation)

You can install the package via composer:

```
composer require mollsoft/web-telegram-bot

php artisan web-telegram-bot:install

php artisan migrate
```

In file `app/Providers/RouteServiceProvider.php` add lines in `$this->routes(function () {`:

```
if( is_file(base_path('routes/telegraph.php')) ) {
    Route::middleware('telegraph')
        ->name('telegraph.')
        ->prefix('telegraph')
        ->group(base_path('routes/telegraph.php'));
}
```

After you need create Telegram Bot using Telegraph instruction.

Commands
========

[](#commands)

Add Telegram Bot

```
php artisan telegraph:new-bot
```

Manual polling updates from Telegram Bot:

```
php artisan telegraph:polling BOT_ID --debug
```

Manual live updates from Telegram Bot:

```
php artisan telegraph:live --debug
```

Views examples
==============

[](#views-examples)

```

            Menu 1
            Menu 2

            Menu 3
            Menu 4

    Hello! Choice you language

                English

                Russian

                Support

```

How make 404 page?
------------------

[](#how-make-404-page)

Create file `resources/views/telegraph/errors/404.blade.php`.

Autoclear dialog
----------------

[](#autoclear-dialog)

If you want to create a message that will not be permanently deleted, use the

 tag instead of the tagExample:

```

            Menu 1
            Menu 2

            Menu 3
            Menu 4

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~12 days

Total

8

Last Release

769d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

v1.0.5PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c759b18f18d419e1c186ccea2dedd2ef4ad43b2873dbb71851d25a469166cf80?d=identicon)[MollSoft](/maintainers/MollSoft)

---

Top Contributors

[![mollsoft](https://avatars.githubusercontent.com/u/151442118?v=4)](https://github.com/mollsoft "mollsoft (8 commits)")

---

Tags

laravelbottelegramtelegraph

### Embed Badge

![Health badge](/badges/mollsoft-web-telegram-bot/health.svg)

```
[![Health](https://phpackages.com/badges/mollsoft-web-telegram-bot/health.svg)](https://phpackages.com/packages/mollsoft-web-telegram-bot)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
