PHPackages                             john1123/logger - 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. john1123/logger

ActiveLibrary

john1123/logger
===============

сохранение информации в лог-файлах

020PHP

Since Oct 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/john1123/composer_logger)[ Packagist](https://packagist.org/packages/john1123/logger)[ RSS](/packages/john1123-logger/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

composer\_logger
================

[](#composer_logger)

Класс для сохранения информации в логи.

Простейший пример использования

```
// будет использоваться файл для логов data/events_yyyy.mm.dd.log
// Информация в течение дня будет дописываться в конец, а новый файл будет создаваться новый каждый день
$log = new File('data/events_' . date('Y.m.d') . '.log');

// Выводим текст в файл
$log->log('Привет, мир');

```

Changelog: 13.10.2019 добавлена базовая поддержка backtrace добавлением второго параметра, например: $log-&gt;log('Привет, мир', true);

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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/41180bedc69c2bd9c12ebfbf3967dd6db453b6b005ed5e053999761386111deb?d=identicon)[john1123](/maintainers/john1123)

---

Top Contributors

[![j1123](https://avatars.githubusercontent.com/u/11275070?v=4)](https://github.com/j1123 "j1123 (7 commits)")[![john1123](https://avatars.githubusercontent.com/u/3725860?v=4)](https://github.com/john1123 "john1123 (1 commits)")

### Embed Badge

![Health badge](/badges/john1123-logger/health.svg)

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

PHPackages © 2026

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