New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

usmonaliyev/laravel-telegram-notifier

This package send errors and messages to your telegram group or chat.
11,386 8

Larablocks Analysis

usmonaliyev/laravel-telegram-notifier works with Laravel 10, 11 and 12 (latest release v1.4.1, Mar 17, 2025).

Recommendation checks

Use with care

Use with care: meets 0 of 4 checks.

  • Latest release doesn't support Laravel 13, the current version
  • No release in the last 12 months (last: Mar 17, 2025)
  • 655 downloads a month (needs 10,000)
  • 8 GitHub stars (needs 100)

State

Quiet
  • Last stable release: Mar 17, 2025.
  • No releases in the last 12 months.
  • First released: Nov 1, 2022.
  • Monthly downloads: 655.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require usmonaliyev/laravel-telegram-notifier
Latest Version:v1.4.1
PHP:^7.4|^8.1
Laravel:10 · 11 · 12
License:MIT
Last Updated:Mar 17, 2025
Links: GitHub  ·  Packagist
Maintainer: usmonaliyev99

laravel-telegram-notifier

This package send bugs and messages to your telegram group or chat.

Packagist Dependency Version Total Downloads Latest Version on Packagist Packagist License

Screenshots

App Screenshot

Installation

Install this project with composer

composer require usmonaliyev/laravel-telegram-notifier

To control it, create config file

php artisan vendor:publish --provider="Usmonaliyev\LaravelTelegramNotifier\LaravelTelegramNotifierServiceProvider"

Add your bot token and receiver chat id to .env file.

TELEGRAM_NOTIFIER_BOT_TOKEN=
CHAT_ID=
TELEGRAM_NOTIFIER_RESPONSIBLE=@someone

I recommend that you only use it on production. To do this, change the value of TELEGRAM_NOTIFIER_ENABLED in .env to production.

TELEGRAM_NOTIFIER_ENABLED=false

Custom usage

If you want to send custom message, there is notify function:

<?php

use Usmonaliyev\LaravelTelegramNotifier\Facades\TelegramNotifier;

TelegramNotifier::notify("There is your text")

Also, there is error function to send handled error:

<?php

use Usmonaliyev\LaravelTelegramNotifier\Facades\TelegramNotifier;

try {
    ...
} catch (Exception $exception) {

    TelegramNotifier::error($exception);
}

Configuration

There are laravel-telegram-notifier.php in your config folder. If you want to send bag to two or three chat ids you add chat id to chat_ids array of laravel-telegram-notifier.php file.

"chat_ids" => [env("CHAT_ONE_ID"), env("CHAT_TWO_ID"), env("CHAT_THREE_ID")],

Running Tests

To verify that the package is fully installed and working. You can run the command below which will help you create a new dummy error.

php artisan notify:check

In production mode you can load configurations from .env with php artisan config:clear command.

Alternatives to usmonaliyev/laravel-telegram-notifier

sytxlabs/laravel-error-logger

A Laravel package to log errors

8,408 2
jgodstime/laravel-error-notifier

Email and Slack notifications for uncaught exceptions in a Laravel application,...

1,929 43

Version History

Version Released PHP Laravel License
v1.4.1 ^7.4|^8.1 ^10.0|^11.0|^12.0 MIT
v1.4.0 ^7.4|^8.1 ^10.0|^11.0 MIT
v1.3.0 ^7.4|^8.1 ^10.0|^11.0 MIT
v1.2.0 MIT
v1.1.0 MIT