PHPackages                             weew/app-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. weew/app-monolog

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

weew/app-monolog
================

Integration of the monolog/monolog package into weew/app package.

v1.12.0(9y ago)01201MITPHP

Since Mar 7Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (18)Used By (1)

App monolog provider
====================

[](#app-monolog-provider)

[![Build Status](https://camo.githubusercontent.com/09465cd382e6a4329d75e3b2ff64899a871d7b3e4e16343547bd65bc73c07190/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776565772f6170702d6d6f6e6f6c6f672e737667)](https://travis-ci.org/weew/app-monolog)[![Code Quality](https://camo.githubusercontent.com/5f7307afe0b0769aa5d626ecf853f4a7e5a399311d568bd4f82c9a76fcecbd9c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776565772f6170702d6d6f6e6f6c6f672e737667)](https://scrutinizer-ci.com/g/weew/app-monolog)[![Test Coverage](https://camo.githubusercontent.com/4ac9b7498189bebc9df1b36449de47e9d8e2a2367a7179bbb381f098fe14b3c8/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f776565772f6170702d6d6f6e6f6c6f672e737667)](https://coveralls.io/github/weew/app-monolog)[![Version](https://camo.githubusercontent.com/5a3d7daeaba53aa5dc36ab646983f967bc09b596a3b13032b96e80ff98e61786/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776565772f6170702d6d6f6e6f6c6f672e737667)](https://packagist.org/packages/weew/app-monolog)[![Licence](https://camo.githubusercontent.com/33b45773b87ad3308263c2e3fa01f11fe59a962f2efdd1158c46366e8ccae99b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776565772f6170702d6d6f6e6f6c6f672e737667)](https://packagist.org/packages/weew/app-monolog)

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Example config](#example-config)

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

[](#installation)

`composer require weew/app-monolog`

Introduction
------------

[](#introduction)

This package integrates the [monolog/monolog](https://github.com/Seldaek/monolog) library into the [weew/php-app](https://github.com/weew/php-app) package.

Usage
-----

[](#usage)

To make monolog available inside the application, simply register `MonologProvider` on the kernel.

```
$app->getKernel()->addProviders([
    MonologProvider::class
]);
```

You can retrieve a specific logger by the channel name:

```
$channelManager = $app->getContainer()->get(IMonologChannelManager::class);
$channelManager->getLogger('config_name');
```

Example config
--------------

[](#example-config)

This is how your configuration *might* look like:

```
monolog:
  channels:

    default:
      log_file_path: /var/logs/default.log
      log_level: debug

    error:
      log_file_path: /var/logs/error.log
      log_level: debug
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity72

Established project with proven stability

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

Recently: every ~62 days

Total

17

Last Release

3479d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b2b854b5829dd13a15967c000ed2119b5faef67aca24d94c653c8ac550d85e?d=identicon)[weew](/maintainers/weew)

### Embed Badge

![Health badge](/badges/weew-app-monolog/health.svg)

```
[![Health](https://phpackages.com/badges/weew-app-monolog/health.svg)](https://phpackages.com/packages/weew-app-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.0M603](/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)
