PHPackages                             staabm/phpstan-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. staabm/phpstan-psr3

ActivePhpstan-extension[Logging &amp; Monitoring](/categories/logging)

staabm/phpstan-psr3
===================

1.0.3(1y ago)23427.3k↓27.1%1[1 issues](https://github.com/staabm/phpstan-psr3/issues)2MITPHPPHP ^7.4 || ^8.0CI passing

Since Apr 22Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/staabm/phpstan-psr3)[ Packagist](https://packagist.org/packages/staabm/phpstan-psr3)[ GitHub Sponsors](https://github.com/staabm)[ RSS](/packages/staabm-phpstan-psr3/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (14)Versions (14)Used By (2)

PHPStan PSR3 logger rules
=========================

[](#phpstan-psr3-logger-rules)

PHPStan rules for [PSR3](https://www.php-fig.org/psr/psr-3/) compatible logger packages to report misuse and possible security risks.

Supports

- psr/log interface
- any PSR3 compatible logger package, e.g. monolog/monolog
- illuminate/log facade, Illuminate\\Log\\LogManager (laravel)
- REDAXO rex\_logger

Related articles
----------------

[](#related-articles)

- [Using PSR-3 placeholders properly](https://peakd.com/hive-168588/@crell/using-psr-3-placeholders-properly) by [@crell](https://github.com/Crell)

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

[](#installation)

To use this extension, require it in [Composer](https://getcomposer.org/):

```
composer require --dev staabm/phpstan-psr3

```

If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer) then you're all set!

 Manual installationIf you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:

```
includes:
    - vendor/staabm/phpstan-psr3/config/extension.neon

```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance71

Regular maintenance activity

Popularity46

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% 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 ~0 days

Total

4

Last Release

391d ago

PHP version history (2 changes)1.0PHP ^8.1

1.0.1PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/99d4e5e5fa8fb7d0782de39b43c558953d0a5881a7ba596b90ed9c312db8c4d9?d=identicon)[staabm](/maintainers/staabm)

---

Top Contributors

[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (15 commits)")[![tomkyle](https://avatars.githubusercontent.com/u/412560?v=4)](https://github.com/tomkyle "tomkyle (1 commits)")

---

Tags

psr-3PHPStandevstatic analysisphpstan-extensionmonologpsr-log

###  Code Quality

TestsPHPUnit

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/staabm-phpstan-psr3/health.svg)

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

###  Alternatives

[staabm/phpstan-dba

2912.3M2](/packages/staabm-phpstan-dba)[staabm/phpstan-todo-by

1991.8M55](/packages/staabm-phpstan-todo-by)[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)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.0M18](/packages/apix-log)[shipmonk/phpstan-baseline-per-identifier

Split your PHPStan baseline into multiple files, one per error identifier. Supports both neon baseline and PHP baseline.

931.1M28](/packages/shipmonk-phpstan-baseline-per-identifier)

PHPackages © 2026

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