PHPackages                             nicksdot/phpstan-phpstorm-error-identifiers - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. nicksdot/phpstan-phpstorm-error-identifiers

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

nicksdot/phpstan-phpstorm-error-identifiers
===========================================

Custom PHPStan formatter to show error identifiers in PhpStorm inspection output.

0.3.1(3mo ago)5177.3k↓46%19MITPHPPHP &gt;=8.1

Since Oct 7Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/NickSdot/phpstan-phpstorm-error-identifiers)[ Packagist](https://packagist.org/packages/nicksdot/phpstan-phpstorm-error-identifiers)[ RSS](/packages/nicksdot-phpstan-phpstorm-error-identifiers/feed)WikiDiscussions main Synced 1mo ago

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

Custom PHPStan Error Formatters
===============================

[](#custom-phpstan-error-formatters)

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

[](#installation)

1. Run `composer require --dev nicksdot/phpstan-phpstorm-error-identifiers`
2. Then add the formatter(s) you want to the `services` section in your `phpstan.neon`

PHPStan error identifiers in PhpStorm inspection output
-------------------------------------------------------

[](#phpstan-error-identifiers-in-phpstorm-inspection-output)

### Usage

[](#usage)

1. Add the service to `phpstan.neon`:

```
services:
	errorFormatter.checkstyle:
		class:  NickSdot\PhpStanPhpStormErrorIdentifiers\CheckstyleErrorFormatterPhpStorm
```

That's it, PHPStorm will automatically use it. And here is how it looks like:

[![PHPStan error identifiers in PhpStorm inspection output](.github/img/example.png)](.github/img/example.png)

LLM Error Formatter
-------------------

[](#llm-error-formatter)

The output of the PHPStan LLM error formatter is optimised for LLMs, resulting in **40–60% less token usage** compared to the default `RawErrorFormatter` output.

Real-life Example (210 errors):

FormatterTokenCharactersTableErrorFormatter11,693132,882RawErrorFormatter9,26535,794LlmErrorFormatter4,31618,245### Usage

[](#usage-1)

1. Add the service to `phpstan.neon`:

```
services:
	errorFormatter.llm:
		class: NickSdot\PhpStanPhpStormErrorIdentifiers\LlmErrorFormatter
```

2. Run PHPStan with the `--error-format=llm` flag.

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance79

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% 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 ~28 days

Total

5

Last Release

110d ago

PHP version history (2 changes)0.1.0PHP &gt;=8.3

0.2.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3162c42d78f1ecd8d4d97f372566c6ad7728306b9743a5861c61650f24c8b3fc?d=identicon)[NickSdot](/maintainers/NickSdot)

---

Top Contributors

[![NickSdot](https://avatars.githubusercontent.com/u/32384907?v=4)](https://github.com/NickSdot "NickSdot (11 commits)")[![clxmstaab](https://avatars.githubusercontent.com/u/47448731?v=4)](https://github.com/clxmstaab "clxmstaab (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nicksdot-phpstan-phpstorm-error-identifiers/health.svg)

```
[![Health](https://phpackages.com/badges/nicksdot-phpstan-phpstorm-error-identifiers/health.svg)](https://phpackages.com/packages/nicksdot-phpstan-phpstorm-error-identifiers)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[proget-hq/phpstan-yii2

Yii2 extension for PHPStan

51575.1k7](/packages/proget-hq-phpstan-yii2)[tomasvotruba/phpstan-bodyscan

Get error count for each PHPStan level

13478.6k1](/packages/tomasvotruba-phpstan-bodyscan)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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