PHPackages                             maduser/argon-monolog - 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. maduser/argon-monolog

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

maduser/argon-monolog
=====================

Monolog integration for the Argon runtime stack.

v1.0.0(2mo ago)00MITPHPPHP ^8.2CI passing

Since May 25Pushed 2mo agoCompare

[ Source](https://github.com/judus/argon-monolog)[ Packagist](https://packagist.org/packages/maduser/argon-monolog)[ RSS](/packages/maduser-argon-monolog/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

argon-monolog
=============

[](#argon-monolog)

[![PHP](https://camo.githubusercontent.com/ce3e396e4f1bbbd326f628872a1414656d28065f2712cda0868d8eff07320aec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322b2d626c7565)](https://www.php.net/)[![Build](https://github.com/judus/argon-monolog/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/judus/argon-monolog/actions)[![codecov](https://camo.githubusercontent.com/b027502b29fb96030434a7185827d47b01de6b2666e7160a271d88875953383e/68747470733a2f2f636f6465636f762e696f2f67682f6a756475732f6172676f6e2d6d6f6e6f6c6f672f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/judus/argon-monolog)[![Psalm Level](https://camo.githubusercontent.com/e760c051079d4dd796ac3e0bef80d6c8637f7ea659e52b93a327d7a7e4881c3d/68747470733a2f2f73686570686572642e6465762f6769746875622f6a756475732f6172676f6e2d6d6f6e6f6c6f672f636f7665726167652e737667)](https://shepherd.dev/github/judus/argon-monolog)[![Latest Version](https://camo.githubusercontent.com/9793ce78d39a9e72e0e7607e88d3b1f19157d0e3245858cc7862f2b0d783cc7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6164757365722f6172676f6e2d6d6f6e6f6c6f672e737667)](https://packagist.org/packages/maduser/argon-monolog)[![Total Downloads](https://camo.githubusercontent.com/42c568f1cf48ae0c76f1ac9f56d0d5e8341d670dca4e492101f23a371de1dc7f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6164757365722f6172676f6e2d6d6f6e6f6c6f672e7376673f636f6c6f723d626c7565)](https://packagist.org/packages/maduser/argon-monolog)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Monolog integration for the Argon runtime stack.

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

[](#installation)

```
composer require maduser/argon-monolog
```

Register
--------

[](#register)

```
use Maduser\Argon\Monolog\Provider\MonologServiceProvider;

$container->register(MonologServiceProvider::class);
```

The provider registers:

- `Monolog\Logger`
- `Psr\Log\LoggerInterface`
- `Maduser\Argon\Monolog\Config\MonologConfig`

`LoggerInterface` resolves to the same shared `Monolog\Logger` instance.

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

[](#configuration)

The default logger uses channel `argon`, writes to `php://stderr`, and accepts all records at `debug` level and above.

You can configure it through container parameters before registering the provider:

```
use Maduser\Argon\Monolog\Config\MonologParameter;
use Maduser\Argon\Monolog\Provider\MonologServiceProvider;

$parameters = $container->getParameters();
$parameters->set(MonologParameter::CHANNEL, 'app');
$parameters->set(MonologParameter::STREAM, '/path/to/storage/logs/app.log');
$parameters->set(MonologParameter::LEVEL, 'info');
$parameters->set(MonologParameter::BUBBLE, true);

$container->register(MonologServiceProvider::class);
```

Supported log levels:

- `debug`
- `info`
- `notice`
- `warning`
- `error`
- `critical`
- `alert`
- `emergency`

Integer Monolog level values are also accepted.

Override
--------

[](#override)

For custom setup, register your own `MonologConfig`, `Monolog\Logger`, or `Psr\Log\LoggerInterface` binding before registering the provider. Existing bindings are not replaced.

Quality Gates
-------------

[](#quality-gates)

```
composer check
composer test:coverage
composer psalm
composer phpcs
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance88

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

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

Unknown

Total

1

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fb9da5a15010d335622bf9f465a32ef79c8d1cffcd139c2a9114736b72e2c13?d=identicon)[jdu](/maintainers/jdu)

---

Top Contributors

[![judus](https://avatars.githubusercontent.com/u/1478654?v=4)](https://github.com/judus "judus (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/maduser-argon-monolog/health.svg)

```
[![Health](https://phpackages.com/badges/maduser-argon-monolog/health.svg)](https://phpackages.com/packages/maduser-argon-monolog)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k543.8M20.5k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[illuminate/log

The Illuminate Log package.

6225.3M647](/packages/illuminate-log)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M600](/packages/shopware-core)

PHPackages © 2026

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