PHPackages                             flipboxfactory/craft-psr3 - 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. flipboxfactory/craft-psr3

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

flipboxfactory/craft-psr3
=========================

PSR-3 Logger for Craft CMS

2.1.0(6mo ago)083.0k6MITPHPPHP &gt;=8.0

Since Feb 23Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/flipboxfactory/craft-psr3)[ Packagist](https://packagist.org/packages/flipboxfactory/craft-psr3)[ RSS](/packages/flipboxfactory-craft-psr3/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (4)Versions (9)Used By (6)

PSR-3 Logger for Craft CMS
==========================

[](#psr-3-logger-for-craft-cms)

[![Join the chat at https://gitter.im/flipboxfactory/craft-psr3](https://camo.githubusercontent.com/952704a599900de03573fe81a41eff2b8e1869916b69a91849c1cfba76a3bea9/68747470733a2f2f6261646765732e6769747465722e696d2f666c6970626f78666163746f72792f63726166742d707372332e737667)](https://gitter.im/flipboxfactory/craft-psr3?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Latest Version](https://camo.githubusercontent.com/9eb0b2408e29b780c2cc68786876f4afe89f3aecf38ba3cc7587362c8ddbfea4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f666c6970626f78666163746f72792f63726166742d707372332e7376673f7374796c653d666c61742d737175617265)](https://github.com/flipboxfactory/craft-psr3/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/a829a3fa37726104ecb3275432598e1a18aaed74f23a69a76004e8a8f618fc76/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666c6970626f78666163746f72792f63726166742d707372332f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/flipboxfactory/craft-psr3)[![Coverage Status](https://camo.githubusercontent.com/f20f93c960826e9a81be4b34818ca494d3a5b55988b44911af1559da01412b92/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f666c6970626f78666163746f72792f63726166742d707372332e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr3/code-structure)[![Quality Score](https://camo.githubusercontent.com/12dc58d6d1e2c5a6c2a92e405f0c7f6c4ee80fb7e177c8ab3a0c45d1a9d208fe/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f666c6970626f78666163746f72792f63726166742d707372332e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/flipboxfactory/craft-psr3)[![Total Downloads](https://camo.githubusercontent.com/b93e08477a43df68ddfe3b12e12e5f238fc8fb1d66f72452cf3b8d03b3bef71c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6970626f78666163746f72792f63726166742d707372332e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flipboxfactory/craft-psr3)

This package provides simple mechanism for PSR-3 logging via Craft CMS.

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

[](#installation)

To install, use composer:

```
composer require flipboxfactory/craft-psr3

```

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit
```

Usage
-----

[](#usage)

Define it as a component in your plugin

```
'components' => [
    'psr3logger' => [
        'class' => flipbox\craft\psr3\Logger::class
     ]
]
```

or via your composer as an 'extra' definition

```
"components": {
  "psr3logger": "flipbox\\craft\\psr3\\Logger"
}
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/flipboxfactory/craft-psr3/blob/master/CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Flipbox Digital](https://github.com/flipbox)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/flipboxfactory/craft-psr3/blob/master/LICENSE) for more information.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance66

Regular maintenance activity

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity73

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

Total

5

Last Release

196d ago

Major Versions

1.1.0 → 2.0.02023-01-21

PHP version history (2 changes)1.0.0-rcPHP &gt;=7.0

2.0.0PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![nateiler](https://avatars.githubusercontent.com/u/1892443?v=4)](https://github.com/nateiler "nateiler (9 commits)")

---

Tags

psr-3yii2CraftPSR3craft cms

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/flipboxfactory-craft-psr3/health.svg)

```
[![Health](https://phpackages.com/badges/flipboxfactory-craft-psr3/health.svg)](https://phpackages.com/packages/flipboxfactory-craft-psr3)
```

###  Alternatives

[analog/analog

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

3451.5M24](/packages/analog-analog)[struggle-for-php/sfp-phpstan-psr-log

Extra strict and opinionated psr/log (psr-3) rules for PHPStan

42257.6k9](/packages/struggle-for-php-sfp-phpstan-psr-log)[devthis/console-logg

Effortless artisan console output with your usual Laravel logger

1112.7k](/packages/devthis-console-logg)[atrapalo/monolog-elasticsearch

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

1123.0k](/packages/atrapalo-monolog-elasticsearch)

PHPackages © 2026

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