PHPackages                             michelmelo/laravel-telegram-event-output - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. michelmelo/laravel-telegram-event-output

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

michelmelo/laravel-telegram-event-output
========================================

Laravel extension to send command output through telegram bots

1.0.4(6y ago)0250nonePHP

Since Jan 14Pushed 6y agoCompare

[ Source](https://github.com/michelmelo/laravel-telegram-event-output)[ Packagist](https://packagist.org/packages/michelmelo/laravel-telegram-event-output)[ RSS](/packages/michelmelo-laravel-telegram-event-output/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (2)Versions (6)Used By (0)

laravel-telegram-event-output
=============================

[](#laravel-telegram-event-output)

Laravel extension to send command output trough telegram bots

requirements
------------

[](#requirements)

`laravel-telegram-event-output` requires another Laravel extension: [irazasyed/telegram-bot-sdk](https://github.com/irazasyed/telegram-bot-sdk). This requirement is managed by Composer and you should not worry for it. Although this, some configurations of `telegram-bot-sdk` are required.

installation
------------

[](#installation)

Download using composer:

```
composer require alberto-bottarini/laravel-telegram-event-output
```

Edit `config/app.php` and add a new ServiceProvider:

```
Telegram\Bot\Laravel\TelegramServiceProvider::class
```

and a new Alias:

```
'Telegram'  => Telegram\Bot\Laravel\Facades\Telegram::class
```

Publish telegram configuration executing:

```
php artisan vendor:publish --provider=irazasyed/telegram-bot-sdk
```

Edit `config/telegram.php` or `.env` and add your Telegram API token id. This will be provided by BotFather. [Here](https://core.telegram.org/bots) you can find some documentation.

Improve your `App\Console\Kernel` with a new Trait:

```
use \AlbertoBottarini\LaravelTelegramEventOutput\TelegramConsoleKernel;
```

usage
-----

[](#usage)

Since now, thanks to the trait, your ConsoleEvent shows a new method, telegramOutputTo, that you should call in the same way you called emailOutputTo. This method accepts a required parameter chatId. This will be the id of the chat/group where you want to receive the command notification. You can obtain this by using the getUpdates BOT command([documentation](https://core.telegram.org/bots/api)).

example
-------

[](#example)

```
$telegramChatId = 1234567890;
$schedule->command('inspire')->cron('* * * * *')
    ->sendOutputTo(storage_path('logs/test.log'))
    ->telegramOutputTo($telegramChatId);
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 60.9% 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 ~354 days

Total

5

Last Release

2354d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d756073dec37ac9abd3c7edd0cf00b94f2d2de0055531eba5472392b1fd4da2?d=identicon)[michelmelo](/maintainers/michelmelo)

---

Top Contributors

[![alberto-bottarini](https://avatars.githubusercontent.com/u/1442934?v=4)](https://github.com/alberto-bottarini "alberto-bottarini (14 commits)")[![michelmelo](https://avatars.githubusercontent.com/u/159223?v=4)](https://github.com/michelmelo "michelmelo (9 commits)")

### Embed Badge

![Health badge](/badges/michelmelo-laravel-telegram-event-output/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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