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 3d 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 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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://www.gravatar.com/avatar/781a3822f0f7b4f5b5c727552fd7f381a6aabc23fb4d93ce890cb967fb575fd5?d=identicon)[patriot](/maintainers/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.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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