PHPackages                             g4/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. g4/log

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

g4/log
======

Writes your logs to files, databases, search engines...

1.48.1(1y ago)177.8k↓33.3%92MITPHPPHP &gt;=7.3

Since Apr 27Pushed 1y ago9 watchersCompare

[ Source](https://github.com/g4code/log)[ Packagist](https://packagist.org/packages/g4/log)[ RSS](/packages/g4-log/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (82)Used By (2)

Log
===

[](#log)

> Log - log writer helper

Install
-------

[](#install)

> Using Composer and Packagist

```
composer require g4/log
```

Usage
-----

[](#usage)

Development
-----------

[](#development)

### Install dependencies

[](#install-dependencies)

```
$ make install

```

### Run tests

[](#run-tests)

```
$ make test

```

License
-------

[](#license)

(The MIT License) see LICENSE file for details...

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance47

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~26 days

Total

81

Last Release

390d ago

Major Versions

0.15.0 → 1.0.02018-08-08

PHP version history (4 changes)0.1.1PHP &gt;=5.3.3

1.6.0PHP &gt;=5.5

1.7.0PHP &gt;=5.6

1.44.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/12ceafbc629c3019d7cd78dfec322d694f44e0df8741bc6044f4acbf99964ff8?d=identicon)[g4code](/maintainers/g4code)

---

Top Contributors

[![ppavlovic](https://avatars.githubusercontent.com/u/2664974?v=4)](https://github.com/ppavlovic "ppavlovic (73 commits)")[![gomboc](https://avatars.githubusercontent.com/u/1145653?v=4)](https://github.com/gomboc "gomboc (37 commits)")[![ivankoni](https://avatars.githubusercontent.com/u/570997?v=4)](https://github.com/ivankoni "ivankoni (20 commits)")[![sanjamedic](https://avatars.githubusercontent.com/u/13198949?v=4)](https://github.com/sanjamedic "sanjamedic (14 commits)")[![UrosPurtic](https://avatars.githubusercontent.com/u/52161020?v=4)](https://github.com/UrosPurtic "UrosPurtic (9 commits)")[![vb-c-plicity](https://avatars.githubusercontent.com/u/101137972?v=4)](https://github.com/vb-c-plicity "vb-c-plicity (8 commits)")[![mirko-bukilic](https://avatars.githubusercontent.com/u/76707321?v=4)](https://github.com/mirko-bukilic "mirko-bukilic (7 commits)")[![dsamardzija](https://avatars.githubusercontent.com/u/366252?v=4)](https://github.com/dsamardzija "dsamardzija (5 commits)")[![DarkGit](https://avatars.githubusercontent.com/u/10722199?v=4)](https://github.com/DarkGit "DarkGit (2 commits)")[![rdohms](https://avatars.githubusercontent.com/u/94331?v=4)](https://github.com/rdohms "rdohms (1 commits)")[![NebojsaStanicCP](https://avatars.githubusercontent.com/u/59829717?v=4)](https://github.com/NebojsaStanicCP "NebojsaStanicCP (1 commits)")[![vladan-zoricic](https://avatars.githubusercontent.com/u/195801?v=4)](https://github.com/vladan-zoricic "vladan-zoricic (1 commits)")

---

Tags

logdebugwriterlogger

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.0M18](/packages/apix-log)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[snapshotpl/zf-snap-php-debug-bar

PHP Debug Bar module for Zend Framework 2

3026.1k](/packages/snapshotpl-zf-snap-php-debug-bar)

PHPackages © 2026

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