PHPackages                             mileschou/monoex - 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. mileschou/monoex

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

mileschou/monoex
================

Monolog extensions

v2.4.0(3mo ago)16.0k2MITPHPPHP ^8.1CI failing

Since Apr 16Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/MilesChou/monoex)[ Packagist](https://packagist.org/packages/mileschou/monoex)[ RSS](/packages/mileschou-monoex/feed)WikiDiscussions 2.x Synced today

READMEChangelog (9)Dependencies (20)Versions (13)Used By (0)

Monoex
======

[](#monoex)

[![tests](https://github.com/MilesChou/monoex/actions/workflows/tests.yml/badge.svg)](https://github.com/MilesChou/monoex/actions/workflows/tests.yml)[![codecov](https://camo.githubusercontent.com/eff91cf566676fe8b53a1b937849816c0c8e195c3d15f44969d4d2f742e343e6/68747470733a2f2f636f6465636f762e696f2f67682f4d696c657343686f752f6d6f6e6f65782f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/MilesChou/monoex)[![Codacy Badge](https://camo.githubusercontent.com/fee8ed65fd471fd2caf8597f14dd649be767f0ac914f3972b5b8dbc37b0c4668/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3834363839666666303538633436363662613930313037316635393731346331)](https://app.codacy.com/gh/MilesChou/monoex/dashboard)[![Latest Stable Version](https://camo.githubusercontent.com/5d29b447b8f2ff58f283b7742331780d2d0edbb0d1a612c796e81565667d2423/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f6d6f6e6f65782f762f737461626c65)](https://packagist.org/packages/mileschou/monoex)[![Total Downloads](https://camo.githubusercontent.com/36f0333e03b1d3ad115e5ce22baa765e3003d50c2d0f0e254eeecc7f247c7cc3/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f6d6f6e6f65782f642f746f74616c2e737667)](https://packagist.org/packages/mileschou/monoex)[![License](https://camo.githubusercontent.com/b3dbf15875f0431bc69e2994ae643f4b669beb7472ca8492cdd810d6d109a6af/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f6d6f6e6f65782f6c6963656e7365)](https://packagist.org/packages/mileschou/monoex)

Monolog extensions.

- Version 0.x Support PHP 7.1 ~ 8.0 and Laravel 5.7 ~ 9.0.
- Version 2.x Support PHP 8.1 and Laravel 10.

Use on Laravel
--------------

[](#use-on-laravel)

This package implements [Package Discovery](https://laravel.com/docs/7.x/packages#package-discovery), and the following [PSR-17](https://www.php-fig.org/psr/psr-17/) / [PSR-18](https://www.php-fig.org/psr/psr-18/) driver must be register:

- `Psr\Http\Client\ClientInterface`
- `Psr\Http\Message\RequestFactoryInterface`
- `Psr\Http\Message\StreamFactoryInterface`

Example, use [`laminas/laminas-diactoros`](https://packagist.org/packages/laminas/laminas-diactoros) and [`symfony/http-client`](https://packagist.org/packages/symfony/http-client):

```
$app->singleton(RequestFactoryInterface::class, new \Laminas\Diactoros\RequestFactory());
$app->singleton(ResponseFactoryInterface::class, new \Laminas\Diactoros\ResponseFactory());
$app->singleton(StreamFactoryInterface::class, new \Laminas\Diactoros\StreamFactory());

$app->singleton(ClientInterface::class, function($app) {
    return new \Symfony\Component\HttpClient\Psr18Client(
        null,
        $app->make(ResponseFactoryInterface::class),
        $app->make(StreamFactoryInterface::class)
    );
});
```

Finally, the `logging.php` config can use by new driver `psr18slack`:

```
return [
    'channels' => [
        'stack' => [
            'driver' => 'psr18slack',
            // same as slack driver
            'url' => env('LOG_SLACK_WEBHOOK_URL'),
            'username' => 'Laravel Log',
            'emoji' => ':boom:',
            'level' => 'critical',
        ],
    ],
];
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance79

Regular maintenance activity

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 86.4% 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 ~216 days

Recently: every ~221 days

Total

11

Last Release

112d ago

Major Versions

0.x-dev → v2.0.02023-03-22

PHP version history (3 changes)v0.1.0PHP ^7.1

v0.2.0PHP ^7.1 | ^8.0

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/20872dcc4b888075f03819d5470db8198ffcc5f9edb791aba5f007e34355a6c9?d=identicon)[MilesChou](/maintainers/MilesChou)

---

Top Contributors

[![MilesChou](https://avatars.githubusercontent.com/u/1258752?v=4)](https://github.com/MilesChou "MilesChou (19 commits)")[![ChengKaiChiang](https://avatars.githubusercontent.com/u/56571843?v=4)](https://github.com/ChengKaiChiang "ChengKaiChiang (2 commits)")[![TJChiang](https://avatars.githubusercontent.com/u/42484489?v=4)](https://github.com/TJChiang "TJChiang (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mileschou-monoex/health.svg)

```
[![Health](https://phpackages.com/badges/mileschou-monoex/health.svg)](https://phpackages.com/packages/mileschou-monoex)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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