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(1mo ago)072↓100%MITPHPPHP ^8.3CI passing

Since Apr 30Pushed 1mo 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 1w 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

42

—

FairBetter than 88% of packages

Maintenance92

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

40d 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

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.4k](/packages/larastan-larastan)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.7M64](/packages/spatie-laravel-responsecache)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76318.2M110](/packages/laravel-mcp)[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)

PHPackages © 2026

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