PHPackages                             yakiv-khorunzhyi/log - 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. yakiv-khorunzhyi/log

ActiveLibrary

yakiv-khorunzhyi/log
====================

Custom logs

00[1 issues](https://github.com/yakiv-khorunzhyi/log/issues)PHPCI failing

Since Aug 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/yakiv-khorunzhyi/log)[ Packagist](https://packagist.org/packages/yakiv-khorunzhyi/log)[ RSS](/packages/yakiv-khorunzhyi-log/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#installation)

Install the latest version with:

```
$ composer require yakiv-khorunzhyi/log

```

Examples
--------

[](#examples)

How to use for database?

```
// database
$logger = new \Y\Logger();

$logger->setStorage()->database(
    new PDO('mysql:dbname=test;host=localhost', 'test', 'test'),
    'logs'    // table name
);
$logger->setFormatter()->database();

$logger->log([
    // db column => your value
    'name' => 'Yakov',
]);

```

Write log to file:

```
$logger->setStorage()->file(__DIR__ . '/logs/event.log');
$logger->setFormatter()->string(';');

$logger->log('Hello world');

```

License
-------

[](#license)

MIT license.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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/71c58702aac9fe122db6308a79ab31f3145bb934d041d4c1c88e17f945a1b40f?d=identicon)[yakiv-khorunzhyi](/maintainers/yakiv-khorunzhyi)

---

Top Contributors

[![yakiv-khorunzhyi](https://avatars.githubusercontent.com/u/63973781?v=4)](https://github.com/yakiv-khorunzhyi "yakiv-khorunzhyi (2 commits)")[![yakovbinarystudio](https://avatars.githubusercontent.com/u/64734602?v=4)](https://github.com/yakovbinarystudio "yakovbinarystudio (1 commits)")

### Embed Badge

![Health badge](/badges/yakiv-khorunzhyi-log/health.svg)

```
[![Health](https://phpackages.com/badges/yakiv-khorunzhyi-log/health.svg)](https://phpackages.com/packages/yakiv-khorunzhyi-log)
```

PHPackages © 2026

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