PHPackages                             smart-gamma/symfony-errors-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. smart-gamma/symfony-errors-telegram-bot

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

smart-gamma/symfony-errors-telegram-bot
=======================================

The Telegram bot allows to send notifications about Symfony critical errors to the configured project's chat

v1.0.9(6y ago)010.8k1[6 PRs](https://github.com/smart-gamma/symfony-errors-telegram-bot/pulls)MITPHPPHP &gt;=5.6

Since Jul 22Pushed 3y ago4 watchersCompare

[ Source](https://github.com/smart-gamma/symfony-errors-telegram-bot)[ Packagist](https://packagist.org/packages/smart-gamma/symfony-errors-telegram-bot)[ RSS](/packages/smart-gamma-symfony-errors-telegram-bot/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (5)Versions (19)Used By (0)

Smart Gamma Telegram bot bundle for Symfony errors project's chat notifications
===============================================================================

[](#smart-gamma-telegram-bot-bundle-for-symfony-errors-projects-chat-notifications)

> The Telegram bot allow to send notifications about Symfony critical errors to the configured project chat

1. Install
----------

[](#1-install)

```
composer require smart-gamma/symfony-errors-telegram-bot

```

2. Configuration
----------------

[](#2-configuration)

### 2.1. Activate the bundle

[](#21-activate-the-bundle)

#### Symfony version &lt; 4.0

[](#symfony-version--40)

Add to AppKernel.php

```
 new Gamma\ErrorsBundle\GammaErrorsBundle(),

```

#### Symfony with dotenv

[](#symfony-with-dotenv)

add to app/config/service.yaml

```
parameters:
   gamma.base_host: '%env(BASE_URI)%'

```

Define "BASE\_URI" at .env or replace it with your env variable that defines base uri of your project.

#### Symfony without dotenv

[](#symfony-without-dotenv)

add to parameter.yml

```
    gamma.base_host: 'put your base uri here'

```

### 2.2. Add configuration

[](#22-add-configuration)

Put the file gamma\_errors\_bot.yaml to vendor/packages folder at app/config

```
gamma_errors:
    enabled: true
    telegram_channel:
        auth_key: '%env(GAMMA_ERRORS_TELEGRAM_AUTH_KEY)%'
        chat_id: '%env(GAMMA_ERRORS_TELEGRAM_CHAT_ID)%'

```

3. Creating a bot
-----------------

[](#3-creating-a-bot)

Start a conversation with @BotFather.

```
You: /newbot
>>>>>>>>>>
@BotFather: Alright, a new bot. How are we going to call it? Please choose a name for your bot.
>
@BotFather: Good. Now let's choose a username for your bot. It must end in `bot`. Like this, for example:
TetrisBot or tetris_bot.
>
@BotFather: Done! Congratulations on your new bot. You will find it at telegram.me/cronus_bot. You can now add a
description, about section and profile picture for your bot, see /help for a list of commands. By the way, when
you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure
the bot is fully operational before you do this.

Use this token to access the HTTP API:
111111:xxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

For a description of the Bot API, see this page: https://core.telegram.org/bots/api

```

4. Get chat identifier
----------------------

[](#4-get-chat-identifier)

After the created bot was added to your project's group you should retrieve its chat\_id

Make POST request to URL: [https://api.telegram.org/bot\_token\_/getUpdates](https://api.telegram.org/bot_token_/getUpdates)

Example:

Request

```
curl -X POST https://api.telegram.org/bot111111:xxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/getUpdates

```

Response

```
{
"ok": true,
"result": [
  {
    "update_id": 222222,
    "message": {
      "message_id": 3333,
      "from": {
        "id": 444444,
        "first_name": "Test",
        "last_name": "Test",
        "username": "test"
      },
      "chat": {
        "id": -111111
        "first_name": "Test",
        "last_name": "Test",
        "username": "test",
        "type": "private"
      },
      "date": 1480701504,
      "text": "test"
    }
  }
]
}

```

chat\_id is the number "-111111".

5. Slack support

In order to have additional channel of notification you can enable Slack with webhook integration

- add "Incoming WebHooks" app to your Slack and copy webhook url from the settings
- configure

```
gamma_errors:
    enabled: true
    telegram_channel:
    ....
    slack_channel:
        webhook:  '%env(GAMMA_ERRORS_SLACK_WEBHOOK)%'
        channel:  '%env(GAMMA_ERRORS_SLACK_CHANNEL)%'

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 80.5% 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 ~69 days

Recently: every ~111 days

Total

10

Last Release

2276d ago

### Community

Maintainers

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

---

Top Contributors

[![Evgenas](https://avatars.githubusercontent.com/u/2884742?v=4)](https://github.com/Evgenas "Evgenas (33 commits)")[![o-borovets](https://avatars.githubusercontent.com/u/7982859?v=4)](https://github.com/o-borovets "o-borovets (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![m097](https://avatars.githubusercontent.com/u/15269075?v=4)](https://github.com/m097 "m097 (1 commits)")

### Embed Badge

![Health badge](/badges/smart-gamma-symfony-errors-telegram-bot/health.svg)

```
[![Health](https://phpackages.com/badges/smart-gamma-symfony-errors-telegram-bot/health.svg)](https://phpackages.com/packages/smart-gamma-symfony-errors-telegram-bot)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M526](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k58](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[forumify/forumify-platform

122.0k12](/packages/forumify-forumify-platform)

PHPackages © 2026

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