PHPackages                             the-toster/psalm-fmt - 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. [CLI &amp; Console](/categories/cli)
4. /
5. the-toster/psalm-fmt

ActiveProject[CLI &amp; Console](/categories/cli)

the-toster/psalm-fmt
====================

Psalm wrapper that formats console output to fit PhpStorm source link pattern

0.0.3(5y ago)012MITPHPPHP ^7.4

Since Aug 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/the-toster/psalm-fmt)[ Packagist](https://packagist.org/packages/the-toster/psalm-fmt)[ RSS](/packages/the-toster-psalm-fmt/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/8e97c85b388182b9ce40cb404fa5bc7f14a332a649b48fcfc347b292ecacffa1/68747470733a2f2f7472617669732d63692e636f6d2f7468652d746f737465722f7073616c6d2d666d742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/the-toster/psalm-fmt)[![Psalm coverage](https://camo.githubusercontent.com/267d7d548cf402275727ed898bf34beae8d5e37cc4cd5660f697e369b81573b7/68747470733a2f2f73686570686572642e6465762f6769746875622f7468652d746f737465722f7073616c6d2d666d742f636f7665726167652e737667)](https://camo.githubusercontent.com/267d7d548cf402275727ed898bf34beae8d5e37cc4cd5660f697e369b81573b7/68747470733a2f2f73686570686572642e6465762f6769746875622f7468652d746f737465722f7073616c6d2d666d742f636f7665726167652e737667)

Psalm wrapper for PhpStorm
==========================

[](#psalm-wrapper-for-phpstorm)

Add links to files into issues report
before:
[![before](docs/before.png)](docs/before.png)

after:
[![after](docs/after.png)](docs/after.png)

### How it works

[](#how-it-works)

It just runs `psalm --output-format=json` and then turn into slightly modified console format, so PhpStorm can recognize issues filenames as links. It also passes additional arguments, so you can use it as `vendor/bin/psalm-fmt file.php`.

### Features

[](#features)

- respects `-m`, `--monochrome`, `--show-snippet[=true]` flags
- pass back `psalm` exit code
- bypass output if given `--output-format` is not `console`

### Limitation | TODO

[](#limitation--todo)

- isn't suppress json output
- isn't show stats and other details given by console format
- provide formatter customisation

### Installation

[](#installation)

```
composer require --dev the-toster/psalm-fmt
```

Will create `vendor/bin/psalm-fmt`

### Usage

[](#usage)

```
vendor/bin/psalm-fmt
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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

Total

3

Last Release

2131d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62257854467f165e1ec97a01abf9999a603eca22a0345e9af7d33c1cf7413975?d=identicon)[the-toster](/maintainers/the-toster)

---

Top Contributors

[![the-toster](https://avatars.githubusercontent.com/u/22966096?v=4)](https://github.com/the-toster "the-toster (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/the-toster-psalm-fmt/health.svg)

```
[![Health](https://phpackages.com/badges/the-toster-psalm-fmt/health.svg)](https://phpackages.com/packages/the-toster-psalm-fmt)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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