PHPackages                             volkv/loggio - 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. volkv/loggio

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

volkv/loggio
============

1(10mo ago)2177MITPHPPHP &gt;=8

Since Apr 15Pushed 10mo ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (16)Used By (0)

### Loggio - is a simple event logger (`event:count`) for Laravel with a daily reports to Telegram

[](#loggio---is-a-simple-event-logger-eventcount-for-laravel-with-a-daily-reports-to-telegram)

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

[](#installation)

```
composer require volkv/loggio "*"
```

```
php artisan migrate
```

You can optionally publish the config file with:

```
php artisan vendor:publish --provider="Volkv\Loggio\LoggioServiceProvider"
```

Configuration
-------------

[](#configuration)

- Add Telegram credentials to your `.env`

```
LOGGIO_TELEGRAM_BOT_TOKEN=
LOGGIO_TELEGRAM_CHAT_ID=
```

- Add cron job to the `app/Console/Kernel.php` scheduler with a preferable `->dailyAt()` option

```
use Volkv\Loggio\Jobs\LoggioNotify;

$schedule->job(new LoggioNotify)->environments(['production'])->dailyAt('6:30');
```

Please note, that you will get previous (since notify job moment) day's stats compared to 2 day before

Usage
-----

[](#usage)

```
use Volkv\Loggio\Loggio;

// Supported methods
Loggio::increment('your event');
Loggio::setCount('your event', 10);
Loggio::addCount('your event', 2);

// E.g. you may log API requests count
$response = $this->client->get($endpoint);
Loggio::increment('API Calls');

// You may also wrap the `LoggioNotify` job with your job to fill some daily data right before notification is sent
class MyNotifyJob
{
    use Dispatchable;

    public function handle()
    {
        $commentsCount = Comment::where('created_at', now()->subDay()->format('Y-m-d'))->count();
        Loggio::setCountYesterday("New comments", $commentsCount);

        LoggioNotify::dispatch();
    }
}
```

You will receive telegram notification in following format:

```
laravel-app@local:

your event 1: 0️⃣ 🔴 -10
your event 2: 10 🟢 +6
your event 3: 10 🟠 0

```

---

Tested with MySQL and PostgreSQL

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance54

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~58 days

Recently: every ~202 days

Total

15

Last Release

315d ago

PHP version history (2 changes)0.0.3PHP ^8.0

1PHP &gt;=8

### Community

Maintainers

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

---

Top Contributors

[![volkv](https://avatars.githubusercontent.com/u/14368228?v=4)](https://github.com/volkv "volkv (26 commits)")

### Embed Badge

![Health badge](/badges/volkv-loggio/health.svg)

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

###  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)
