PHPackages                             sil-org/psr3-adapters - 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. sil-org/psr3-adapters

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

sil-org/psr3-adapters
=====================

Various PSR3-compatible logging adapters.

4.1.1(9mo ago)04.3k↑717.9%12MITPHPPHP ^8.3CI failing

Since May 5Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/sil-org/psr3-adapters)[ Packagist](https://packagist.org/packages/sil-org/psr3-adapters)[ RSS](/packages/sil-org-psr3-adapters/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (18)Used By (2)

PSR-3 Adapters
==============

[](#psr-3-adapters)

Various PSR3-compatible logging adapters.

Adapter-specific notes
----------------------

[](#adapter-specific-notes)

### Psr3EchoLogger

[](#psr3echologger)

A basic PSR-3 compliant logger that merely echoes logs to the console (primarily intended for use in tests).

This will `echo` out the log messages, allowing the output to be buffered so that it appears at the expected place within the rest of the output (such as in tests).

### Psr3FakeLogger

[](#psr3fakelogger)

A basic PSR-3 compliant logger that stores log entries in an array. This allows confirmation that logging has occurred using hasLogs and hasSpecificLog methods.

### Psr3SamlLogger

[](#psr3samllogger)

A minimalist wrapper library (for SimpleSAML\\Logger) to make it PSR-3 compatible.

### Psr3StdOutLogger

[](#psr3stdoutlogger)

A basic PSR-3 compliant logger that writes logs to stdout. This bypasses any output buffering that PHP may be doing.

### Psr3SyslogLogger

[](#psr3sysloglogger)

A basic PSR-3 compliant logger that sends logs to syslog.

### Psr3Yii2Logger

[](#psr3yii2logger)

A basic PSR-3 compliant logger that sends logs to Yii2's logging functions.

NOTE: Yii2 only provides error, warning, info, and trace levels, so the PSR-3 log levels were mapped to those on a best-effort basis.

Make sure your Yii config bootstraps the `log` component. In other words, include something like this in your Yii config: `'bootstrap' => ['log']`

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance70

Regular maintenance activity

Popularity24

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~396 days

Total

15

Last Release

290d ago

Major Versions

0.1.0 → 1.0.02017-05-09

1.1.0 → 2.0.02018-02-06

2.3.0 → 3.0.02021-03-25

3.1.0 → 4.0.02024-06-18

PHP version history (5 changes)1.0.0PHP ^5.6 || ^7.0

3.0.0PHP ^7.2

3.1.0PHP ^7.4 || ^8.0

4.0.0PHP ^8.1

4.1.1PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/836739aa4f60c754dc9a4a547ebd0c166e4b6e855d9f119df2be5aec92f3a375?d=identicon)[forevermatt](/maintainers/forevermatt)

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

![](https://www.gravatar.com/avatar/5256eacae3564eb6d3e954abc6552ed99a6d948d94d2b07cc1dc9dabb0bce108?d=identicon)[jason-jackson](/maintainers/jason-jackson)

![](https://www.gravatar.com/avatar/1948ad6f3cf2b7f0b3ca357e8014830ceb955d79f8e13777288c6bd3ed1b8545?d=identicon)[Schparky](/maintainers/Schparky)

![](https://www.gravatar.com/avatar/4af996082efafeccd517cb8e86c671d40d492f2b7a2a0202aabf49153272ca3c?d=identicon)[devon-sil](/maintainers/devon-sil)

---

Top Contributors

[![mtompset](https://avatars.githubusercontent.com/u/10937901?v=4)](https://github.com/mtompset "mtompset (41 commits)")[![forevermatt](https://avatars.githubusercontent.com/u/6233204?v=4)](https://github.com/forevermatt "forevermatt (28 commits)")[![briskt](https://avatars.githubusercontent.com/u/3172830?v=4)](https://github.com/briskt "briskt (24 commits)")[![jason-jackson](https://avatars.githubusercontent.com/u/35783387?v=4)](https://github.com/jason-jackson "jason-jackson (11 commits)")[![devon-sil](https://avatars.githubusercontent.com/u/122382412?v=4)](https://github.com/devon-sil "devon-sil (2 commits)")[![Baggerone](https://avatars.githubusercontent.com/u/8058522?v=4)](https://github.com/Baggerone "Baggerone (2 commits)")[![fillup](https://avatars.githubusercontent.com/u/556105?v=4)](https://github.com/fillup "fillup (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sil-org-psr3-adapters/health.svg)

```
[![Health](https://phpackages.com/badges/sil-org-psr3-adapters/health.svg)](https://phpackages.com/packages/sil-org-psr3-adapters)
```

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k247.1M335](/packages/sentry-sentry)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M623](/packages/illuminate-log)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M219](/packages/api-platform-metadata)

PHPackages © 2026

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