PHPackages                             smartapps-fr/yii-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. smartapps-fr/yii-monolog

Abandoned → [sibirsky87/yii-monolog](/?search=sibirsky87%2Fyii-monolog)Library[Logging &amp; Monitoring](/categories/logging)

smartapps-fr/yii-monolog
========================

Monolog Yii Extension

22311PHP

Since Oct 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/smartapps-fr/yii-monolog)[ Packagist](https://packagist.org/packages/smartapps-fr/yii-monolog)[ RSS](/packages/smartapps-fr-yii-monolog/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii-monolog
===========

[](#yii-monolog)

Monolog for Yii 1.\*

Inspired by [baibaratsky/yii-rollbar](https://github.com/baibaratsky/yii-rollbar).

Install
-------

[](#install)

- Add the `Component` to the preload list

```
'preload' => array(
	'monolog'
),
```

- Configure the `Component`

```
'monolog' => array(
	'class' => 'application.vendor.smartapps-fr.yii-monolog.MonologComponent',
	'environment' => 'production',
	'syslog_identity' => 'SmartPublisher_Errors',
	//'stream_handler_filepath' => '/var/log/application.log',
	'use_json_formatter' => TRUE
),
```

- Add `LogRoute`

```
'monolog' => array(
	'class' => 'application.vendor.smartapps-fr.yii-monolog.MonologLogRoute',
	'levels' => 'error, warning',
	'except' => array('exception.CHttpException.*')
),
```

- Add `Exception` handler

```
'errorHandler' => array(
	'class' => 'application.vendor.smartapps-fr.yii-monolog.MonologErrorHandler',
),
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/458007?v=4)[Damien](/maintainers/ddebin)[@ddebin](https://github.com/ddebin)

---

Top Contributors

[![ddebin](https://avatars.githubusercontent.com/u/458007?v=4)](https://github.com/ddebin "ddebin (1 commits)")

### Embed Badge

![Health badge](/badges/smartapps-fr-yii-monolog/health.svg)

```
[![Health](https://phpackages.com/badges/smartapps-fr-yii-monolog/health.svg)](https://phpackages.com/packages/smartapps-fr-yii-monolog)
```

###  Alternatives

[psr/log

Common interface for logging libraries

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

API for OpenTelemetry PHP.

1938.5M261](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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