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

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

mrkriskrisu/telegram
====================

Very simple telegram function. Very simple.

v1.0(4y ago)05.6kPHPPHP ^8.0

Since Nov 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/MrKrisKrisu/telegram)[ Packagist](https://packagist.org/packages/mrkriskrisu/telegram)[ RSS](/packages/mrkriskrisu-telegram/feed)WikiDiscussions main Synced 1mo ago

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

Telegram
========

[](#telegram)

Veeeeery simple telegram function, so that I don't have to use these huge Telegram libraries in my projects and have the function centrally.

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

[](#installation)

```
composer require mrkriskrisu/telegram

```

Usage
-----

[](#usage)

### Send token on function call

[](#send-token-on-function-call)

```
require_once './vendor/autoload.php';

\K118\Telegram::sendMessage(
    chatId: 123456789,
    text:   'Hello World!',
    disableNotification: true,
    token:  '...',
);
```

### Set token before usage

[](#set-token-before-usage)

```
require_once './vendor/autoload.php';

\K118\Telegram::setToken('...');
\K118\Telegram::sendMessage(
    chatId: 123456789,
    text:   'Hello World!',
);
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

1638d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/743b006b0da12b0b2f6dbd7db63d8eaa43c7c0921163aee7dc5487822f461c4d?d=identicon)[MrKrisKrisu](/maintainers/MrKrisKrisu)

---

Top Contributors

[![MrKrisKrisu](https://avatars.githubusercontent.com/u/4103693?v=4)](https://github.com/MrKrisKrisu "MrKrisKrisu (1 commits)")

### Embed Badge

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

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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