PHPackages                             patriot/plog - 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. patriot/plog

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

patriot/plog
============

Telegram Log WebService

09PHP

Since Feb 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/patriotblog/PLog)[ Packagist](https://packagist.org/packages/patriot/plog)[ RSS](/packages/patriot-plog/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PLog
====

[](#plog)

Rest-Full webservice for sending message to telegram groups or users throw Telegram Bot Api

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

[](#installation)

### Using Composer

[](#using-composer)

```
composer require patriot/plog:dev-master
```

then, require composer autoloader:

```
require __DIR__.'/../vendor/autoload.php';
```

you should create config.php file (copy config-sample.php) and put your credentials in it.

```
cd src/PLog
cp config-sample.php config.php
```

#### Config File Attributes

[](#config-file-attributes)

username: Your Inception username

password: Your Inception password

default\_receiver: default Telegram group for sending logs to

#### How to Use

[](#how-to-use)

first add namespace

```
use PLog\PLog;
```

then:

```
$result = PLog::Send('new record saved', 'LogGroup');
```

or if you set default\_receiver:

```
$result = PLog::Send('new record saved');
```

for loging exceptions:

```
 try{

   //do some risky staff ;)

 }catch(Exception $e){

   $result = PLog::Exception($e, 'ExceptionGroup');

 }
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![patriotblog](https://avatars.githubusercontent.com/u/3022196?v=4)](https://github.com/patriotblog "patriotblog (15 commits)")

### Embed Badge

![Health badge](/badges/patriot-plog/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.2k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M272](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M333](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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