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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. enessvg/laravel-telegram-deployer

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

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

Telegram-triggered deployment action runner for Laravel.

v0.1.0(1mo ago)11↑2900%MITPHPPHP ^8.2

Since Mar 23Pushed 1mo agoCompare

[ 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 1mo ago

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

35

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

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

50d 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.7k12.1M99](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[genealabs/laravel-model-caching

Automatic caching for Eloquent models.

2.4k4.8M26](/packages/genealabs-laravel-model-caching)[mikebronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k127.1k1](/packages/mikebronner-laravel-model-caching)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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