PHPackages                             peyman-manteali/telegram-notifier - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. peyman-manteali/telegram-notifier

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

peyman-manteali/telegram-notifier
=================================

A simple Laravel package to send messages to Telegram using the Telegram Bot API.

1.0.0(1y ago)03MITPHPPHP ^8.0

Since Nov 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PeymanManteali/telegram-notifier)[ Packagist](https://packagist.org/packages/peyman-manteali/telegram-notifier)[ RSS](/packages/peyman-manteali-telegram-notifier/feed)WikiDiscussions main Synced today

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

Telegram Notifier
=================

[](#telegram-notifier)

Telegram Notifier is a Laravel package for sending messages to Telegram via the Telegram Bot API. This package provides an easy way to integrate Telegram notifications in your Laravel application.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Laravel 11
- Guzzle HTTP client

Installation
------------

[](#installation)

To install the package, use Composer:

```
composer require peyman-manteali/telegram-notifier
```

Usage
-----

[](#usage)

After installation, you can use the `Telegram` class to send messages to a Telegram chat.

### Example

[](#example)

```
use TelegramNotifier\Telegram;

$message = "Hello, this is a test message!";
$botToken = "your_bot_token";
$chatId = "your_chat_id";

// Optional: specify the parse mode (HTML, Markdown, MarkdownV2)
$parseMode = "HTML";

$response = Telegram::sendMessage($message, $botToken, $chatId, $parseMode);
```

### Parameters

[](#parameters)

- **`$message`**: The message text to send to Telegram.
- **`$botToken`**: Your Telegram bot token.
- **`$chatId`**: The chat ID where the message should be sent.
- **`$parseMode`** (optional): Defines the formatting style for the message. Supported values are:

    - **HTML**
    - **Markdown**
    - **MarkdownV2**

### Error Handling

[](#error-handling)

If an error occurs while sending the message, the function will return a JSON response with the error message and a 500 status code.

License
-------

[](#license)

This package is open-source and licensed under the MIT License.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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

597d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/156663346?v=4)[PeymanManteali](/maintainers/PeymanManteali)[@PeymanManteali](https://github.com/PeymanManteali)

---

Top Contributors

[![PeymanManteali](https://avatars.githubusercontent.com/u/156663346?v=4)](https://github.com/PeymanManteali "PeymanManteali (11 commits)")

### Embed Badge

![Health badge](/badges/peyman-manteali-telegram-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/peyman-manteali-telegram-notifier/health.svg)](https://phpackages.com/packages/peyman-manteali-telegram-notifier)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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