PHPackages                             lermal/laravel-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. [API Development](/categories/api)
4. /
5. lermal/laravel-telegram-bot

ActiveLibrary[API Development](/categories/api)

lermal/laravel-telegram-bot
===========================

Laravel package for Telegram Bot API interactions with webhook and polling support.

v1.0.0(2mo ago)082MITPHPPHP ^8.3CI passing

Since Apr 30Pushed 2mo agoCompare

[ Source](https://github.com/lermal/laravel-telegram-bot)[ Packagist](https://packagist.org/packages/lermal/laravel-telegram-bot)[ Docs](https://github.com/lermal/laravel-telegram-bot)[ RSS](/packages/lermal-laravel-telegram-bot/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

lermal/laravel-telegram-bot
===========================

[](#lermallaravel-telegram-bot)

Laravel package for Telegram Bot API with webhook and polling support.

Language: **English** | [Русский](README.ru.md)

Features
--------

[](#features)

- Telegram API client with typed methods and raw API calls.
- Webhook mode with secret validation.
- Polling mode with retries, backoff, `--max-iterations`, and `--stop-when-empty`.
- Update dispatcher with handler pipeline.
- Built-in anti-spam for repeated chat commands.
- Telemetry events for polling and update processing lifecycle.

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

[](#quick-start)

```
composer require lermal/laravel-telegram-bot
php artisan telegram:install
```

Then configure handlers in `config/telegram.php`.

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 13+

Main commands
-------------

[](#main-commands)

- `php artisan telegram:webhook:set {url?}`
- `php artisan telegram:webhook:info`
- `php artisan telegram:webhook:delete {--drop-pending-updates}`
- `php artisan telegram:poll {--once} {--max-iterations=} {--stop-when-empty}`
- `php artisan telegram:install`

Documentation
-------------

[](#documentation)

Detailed setup, architecture notes, examples, and troubleshooting are in wiki:

Support
-------

[](#support)

- Issues:
- Source:

Tests
-----

[](#tests)

```
composer test
```

License
-------

[](#license)

MIT

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance83

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

85d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23f0e0b963542187895e12ae17773d65c795b28614db28af506381437db0a9e2?d=identicon)[lermal](/maintainers/lermal)

---

Top Contributors

[![lermal](https://avatars.githubusercontent.com/u/82917953?v=4)](https://github.com/lermal "lermal (22 commits)")

---

Tags

laravelbottelegramtelegram bot api

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/lermal-laravel-telegram-bot/health.svg)

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

###  Alternatives

[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77922.3M186](/packages/laravel-mcp)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k96.5k1](/packages/mike-bronner-laravel-model-caching)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

813336.8k3](/packages/defstudio-telegraph)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.6k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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