PHPackages                             enessvg/laravel-telegram-deployer - 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. enessvg/laravel-telegram-deployer

ActiveLibrary

enessvg/laravel-telegram-deployer
=================================

Telegram-triggered deployment action runner for Laravel.

v0.1.0(today)11↑2900%MITPHPPHP ^8.2

Since Mar 23Pushed todayCompare

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

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

enessvg/laravel-telegram-deployer
=================================

[](#enessvglaravel-telegram-deployer)

English | [Turkce](./README.tr.md)

Telegram webhook-triggered, TOTP-protected, queue-based deploy/action runner for Laravel.

Supported Versions
------------------

[](#supported-versions)

- Laravel 11.x
- Laravel 12.x
- Laravel 13.x (PHP 8.3+)

Command Format
--------------

[](#command-format)

Only this format is supported:

`/run {action} [key=value ...] {token}`

Examples:

- `/run deploy 123456`
- `/run seed class=Database\\Seeders\\UserSeeder 123456`

Features
--------

[](#features)

- Telegram webhook secret validation
- Chat/User allowlist authorization
- TOTP validation (`period`, `digits`, `window`)
- Replay protection (single use per token+window)
- Global single-run lock
- Fail-fast action pipeline (`artisan` + `shell`)
- DB run logs (`telegram_deployer_runs`)
- Telegram status messaging

Installation (Host App)
-----------------------

[](#installation-host-app)

1. Install the package:

```
composer require enessvg/laravel-telegram-deployer
```

2. Publish config and migrations:

```
php artisan vendor:publish --tag=telegram-deployer-config
php artisan vendor:publish --tag=telegram-deployer-migrations
```

3. Add these env keys to `.env` (fill values as needed):

```
TELEGRAM_DEPLOYER_BOT_TOKEN=
TELEGRAM_DEPLOYER_WEBHOOK_PATH=
TELEGRAM_DEPLOYER_WEBHOOK_SECRET=
TELEGRAM_DEPLOYER_ALLOWED_CHAT_IDS=
TELEGRAM_DEPLOYER_ALLOWED_USER_IDS=

TELEGRAM_DEPLOYER_OTP_SECRET=
TELEGRAM_DEPLOYER_OTP_PERIOD=
TELEGRAM_DEPLOYER_OTP_DIGITS=
TELEGRAM_DEPLOYER_OTP_WINDOW=
TELEGRAM_DEPLOYER_OTP_ISSUER=
TELEGRAM_DEPLOYER_OTP_LABEL=

TELEGRAM_DEPLOYER_QUEUE_CONNECTION=
TELEGRAM_DEPLOYER_QUEUE=

TELEGRAM_DEPLOYER_GLOBAL_LOCK_KEY=
TELEGRAM_DEPLOYER_GLOBAL_LOCK_SECONDS=

TELEGRAM_DEPLOYER_STEP_TIMEOUT=
TELEGRAM_DEPLOYER_WORKING_DIRECTORY=
```

4. Run migrations:

```
php artisan migrate --force
```

5. Run a queue worker.
6. Set Telegram webhook.

Artisan Commands
----------------

[](#artisan-commands)

- `php artisan telegram-deployer:generate-secret`
- `php artisan telegram-deployer:generate-secret --qr` (prints QR in terminal if `qrencode` is installed)
- `php artisan telegram-deployer:set-webhook {url?}`

Core Config Keys
----------------

[](#core-config-keys)

- `telegram.bot_token`
- `telegram.webhook_path`
- `telegram.webhook_secret`
- `telegram.allowed_chat_ids`
- `telegram.allowed_user_ids`
- `otp.secret`, `otp.period`, `otp.digits`, `otp.window`
- `queue.connection`, `queue.name`
- `locks.global_lock_seconds`
- `actions`

Parameterized Action Example
----------------------------

[](#parameterized-action-example)

```
'actions' => [
    'seed' => [
        [
            'type' => 'artisan',
            'command' => 'db:seed --class={class} --force',
        ],
    ],
],
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance100

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

0d ago

### Community

Maintainers

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

---

Top Contributors

[![enessvg](https://avatars.githubusercontent.com/u/133034948?v=4)](https://github.com/enessvg "enessvg (6 commits)")

### Embed Badge

![Health badge](/badges/enessvg-laravel-telegram-deployer/health.svg)

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

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k11.3M85](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9552.1M82](/packages/roots-acorn)[themosis/framework

The Themosis framework.

670306.3k17](/packages/themosis-framework)[yzen.dev/mono-processor

This Processor will display in the logs bread crumbs by which you can more quickly and accurately identify the cause of the error.

116.1k](/packages/yzendev-mono-processor)

PHPackages © 2026

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