PHPackages                             gluephp/glue-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. gluephp/glue-monolog

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

gluephp/glue-monolog
====================

Use monolog logger in Glue

0.1.0(10y ago)11572MITPHPPHP &gt;=5.5.0

Since May 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/gluephp/glue-monolog)[ Packagist](https://packagist.org/packages/gluephp/glue-monolog)[ RSS](/packages/gluephp-glue-monolog/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (1)Versions (3)Used By (2)

Monolog for Glue
================

[](#monolog-for-glue)

Use [Monolog](https://github.com/Seldaek/monolog) with [gluephp/glue](https://github.com/gluephp/glue)

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

[](#installation)

Use [Composer](http://getcomposer.org):

```
$ composer require gluephp/glue-monolog
```

Configure Monolog
-----------------

[](#configure-monolog)

```
$app = new Glue\App;

$app->config->override([
    'monolog' => [
        'folder'    => '/absolute/path/to/log/folder',
        'file'      => 'log_' . date('Ymd') . '.log',
        'level'     => 'error' // PSR-3 logging level
    ],
]);
```

Register Monolog
----------------

[](#register-monolog)

```
$app->register(
    new Glue\Monolog\ServiceProvider()
);
```

Get the Monolog instance
------------------------

[](#get-the-monolog-instance)

Once the service provider is registered, you can fetch the Monolog instance with:

```
$monolog = $app->make('Monolog\Logger');
```

or since Monolog implements the PSR interface:

```
$monolog = $app->make('Psr\Log\LoggerInterface');
```

or use the alias:

```
$monolog = $app->log;
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

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

3706d ago

### Community

Maintainers

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

---

Top Contributors

[![magnus-eriksson](https://avatars.githubusercontent.com/u/3640297?v=4)](https://github.com/magnus-eriksson "magnus-eriksson (2 commits)")

### Embed Badge

![Health badge](/badges/gluephp-glue-monolog/health.svg)

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

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k198.8M328](/packages/symfony-monolog-bridge)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[spatie/flare-client-php

Send PHP errors to Flare

177156.9M21](/packages/spatie-flare-client-php)[illuminate/log

The Illuminate Log package.

6225.0M602](/packages/illuminate-log)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[grkamil/laravel-telegram-logging

Send logs to Telegram chat via Telegram bot

161493.0k](/packages/grkamil-laravel-telegram-logging)

PHPackages © 2026

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