PHPackages                             struggle-for-php/sfp-stubs-psr-log - 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. struggle-for-php/sfp-stubs-psr-log

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

struggle-for-php/sfp-stubs-psr-log
==================================

Stubs to let Static Analysis understand psr/log (PSR-3)

3.0.2(2y ago)3226.0k↓67.6%1MITGherkinPHP &gt;=8.0.0

Since Mar 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/struggle-for-php/sfp-stubs-psr-log)[ Packagist](https://packagist.org/packages/struggle-for-php/sfp-stubs-psr-log)[ RSS](/packages/struggle-for-php-sfp-stubs-psr-log/feed)WikiDiscussions 3.0.x Synced 4d ago

READMEChangelog (10)Dependencies (6)Versions (17)Used By (0)

PSR-3 psr/log stubs for static analysis
=======================================

[](#psr-3-psrlog-stubs-for-static-analysis)

This repository is aimed for used by these.

-
-

But, You can use this for individual purpose. Add the following files to your stub settings.

```
stubs-for-throwable/LoggerInterface.phpstub

```

Features
--------

[](#features)

### Typed context array, in order to force `exception` key is only Throwable object.

[](#typed-context-array-in-order-to-force-exception-key-is-only-throwable-object)

#### Example

[](#example)

```
