PHPackages                             antonosipov/telegram-common - 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. antonosipov/telegram-common

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

antonosipov/telegram-common
===========================

0.1.6.1(1y ago)080PHP

Since May 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tohaosipow/telegram-common)[ Packagist](https://packagist.org/packages/antonosipov/telegram-common)[ RSS](/packages/antonosipov-telegram-common/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (14)Used By (0)

Telegram Common for Laravel
===========================

[](#telegram-common-for-laravel)

### How to install

[](#how-to-install)

```
   composer require antonosipov/telegram-common
```

```
 php artisan vendor:publish --provider="Antonosipov\TelegramCommon\Providers\TelegramCommonServiceProvider"

```

Add to .env

```
  TELEGRAM_TOKEN=

```

or change env variable in `config/telegram-common.php`

### Config

[](#config)

You can get telegram entities from Request easy, example echo-bot:

```
namespace App\Http\Controllers;

use Antonosipov\TelegramCommon\Message;
use Antonosipov\TelegramCommon\TelegramService;
use Illuminate\Http\Request;

class TelegramHookController extends Controller
{

    public function __construct(protected TelegramService $telegramService)
    {
    }

    public function hook(Request $request)
    {
        $message = Message::fromRequest($request);
        if($message){
            $this->telegramService->sendMessage($message->getChat()->getId(), $message->getText());
        }

    }
}
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Every ~44 days

Recently: every ~133 days

Total

13

Last Release

601d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd10ff9cb3c5b51b1107c9b0955b1cf648aeb722d4e37af852d2546db3fd5072?d=identicon)[antonosipov](/maintainers/antonosipov)

---

Top Contributors

[![tohaosipow](https://avatars.githubusercontent.com/u/43617242?v=4)](https://github.com/tohaosipow "tohaosipow (18 commits)")

### Embed Badge

![Health badge](/badges/antonosipov-telegram-common/health.svg)

```
[![Health](https://phpackages.com/badges/antonosipov-telegram-common/health.svg)](https://phpackages.com/packages/antonosipov-telegram-common)
```

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)

PHPackages © 2026

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