PHPackages                             galvao-eti/monolog-wrapper - 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. galvao-eti/monolog-wrapper

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

galvao-eti/monolog-wrapper
==========================

A wrapper around Monolog that implements a few standards and provides a decent level of customization.

1.0(12mo ago)036Apache-2.0PHPPHP &gt;=8.0

Since Apr 14Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/galvao-eti/monolog-wrapper)[ Packagist](https://packagist.org/packages/galvao-eti/monolog-wrapper)[ RSS](/packages/galvao-eti-monolog-wrapper/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

monolog-wrapper
===============

[](#monolog-wrapper)

A wrapper around [monolog](https://github.com/Seldaek/monolog) that implements a few common standards, such as:

- A single folder path where log files are stored;
- Using dates (Y-m-d) as a filename;
- A pattern for log lines that prioritizes severity and time first.

while also letting you add as many streams and processors as you wish.

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

[](#installation)

```
composer require galvao-eti/monolog-wrapper
```

Usage
-----

[](#usage)

```
use GalvaoEti\MonologWrapper;

// If you wish to add streams and/or processors just add them to the static attributes:
MonologWrapper::$streams['streamName'] = 'streamSeverity';
MonologWrapper::$processors[] = new \Monolog\Processor\WebProcessor(null, [
    'ip' => 'REMOTE_ADDR',
    'referrer' => 'HTTP_REFERER',
    'method' => 'REQUEST_METHOD',
]);

$logger = MonologWrapper::getInstance();

// From here onwards just use Moolog's own methods, such as debug(), info(), etc...
```

Credits
-------

[](#credits)

Made for [Galvão Desenvolvimento Ltda.](https://galvao.eti.br) by Er Galvão Abbott.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance50

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Total

3

Last Release

361d ago

Major Versions

0.1.1 → 1.02025-07-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19656195?v=4)[Galvao Desenvolvimento Ltda.](/maintainers/galvao-eti)[@galvao-eti](https://github.com/galvao-eti)

---

Top Contributors

[![galvao](https://avatars.githubusercontent.com/u/48586?v=4)](https://github.com/galvao "galvao (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/galvao-eti-monolog-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/galvao-eti-monolog-wrapper/health.svg)](https://phpackages.com/packages/galvao-eti-monolog-wrapper)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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