PHPackages                             zfegg/stratigility-logging-error - 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. zfegg/stratigility-logging-error

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

zfegg/stratigility-logging-error
================================

Logging for errors in Mezzio

2.0.2(1y ago)0613MITPHPPHP &gt;=7.4

Since Feb 6Pushed 1y ago2 watchersCompare

[ Source](https://github.com/zfegg/stratigility-logging-error)[ Packagist](https://packagist.org/packages/zfegg/stratigility-logging-error)[ RSS](/packages/zfegg-stratigility-logging-error/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (8)Versions (8)Used By (0)

Logging for errors in Mezzio
============================

[](#logging-for-errors-in-mezzio)

[![GitHub Actions: Run tests](https://github.com/zfegg/stratigility-logging-error/workflows/qa/badge.svg)](https://github.com/zfegg/stratigility-logging-error/actions?query=workflow%3A%22qa%22)[![Coverage Status](https://camo.githubusercontent.com/55d26760cd88861c302591e39ac25492e288e62e0f5d2c491a62730eec40d79f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a666567672f73747261746967696c6974792d6c6f6767696e672d6572726f722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zfegg/stratigility-logging-error?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/e10f80abd73a64327e44d3d5b9212e0a507c007ad7f2baac97d383be4c3d8d6f/68747470733a2f2f706f7365722e707567782e6f72672f7a666567672f73747261746967696c6974792d6c6f6767696e672d6572726f722f762f737461626c652e706e67)](https://packagist.org/packages/zfegg/stratigility-logging-error)

实现 mezzio 记录错误日志功能, 使用PSR3记录日志.

Implement mezzio logging errors.

See

使用说明/Usage
----------

[](#使用说明usage)

1. Install via composer.

    通过 composer 安装依赖.

    ```
    composer require zfegg/stratigility-logging-error
    ```
2. Add `ConfigProvider::class` in `config/config.php`.

    在 `config/config.php` 中添加 `ConfigProvider::class` 配置.
3. Configure your `Psr\Log\LoggerInterface::class` service.

    在你的服务中配置 `Psr\Log\LoggerInterface::class` (PSR3日志实现)服务.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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

Every ~477 days

Recently: every ~588 days

Total

6

Last Release

627d ago

Major Versions

1.1.1 → 2.0.02021-11-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc59373bf8678b7852e4fffd0b9154a50db68a27ccb38aa71c12f52f229888b1?d=identicon)[Moln](/maintainers/Moln)

---

Top Contributors

[![Moln](https://avatars.githubusercontent.com/u/2050694?v=4)](https://github.com/Moln "Moln (24 commits)")

---

Tags

loglaminaserrorzendmezzioexpressive

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zfegg-stratigility-logging-error/health.svg)

```
[![Health](https://phpackages.com/badges/zfegg-stratigility-logging-error/health.svg)](https://phpackages.com/packages/zfegg-stratigility-logging-error)
```

###  Alternatives

[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

19372.5k](/packages/facile-it-sentry-module)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[los/loslog

LosLog provides some log utility

1751.2k2](/packages/los-loslog)[samsonasik/error-hero-module

A Hero for your Laminas and Mezzio application to trap php errors &amp; exceptions

5233.4k1](/packages/samsonasik-error-hero-module)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)

PHPackages © 2026

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