PHPackages                             felconca/phpstan-ui - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. felconca/phpstan-ui

ActivePhpstan-extension[Utility &amp; Helpers](/categories/utility)

felconca/phpstan-ui
===================

A local browser UI for PHPStan analysis results — no PHPStan Pro needed.

v1.01(1mo ago)06MITHTMLPHP &gt;=7.4

Since May 8Pushed 1mo agoCompare

[ Source](https://github.com/felconca/phpstanUI)[ Packagist](https://packagist.org/packages/felconca/phpstan-ui)[ RSS](/packages/felconca-phpstan-ui/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

phpstan-ui
==========

[](#phpstan-ui)

A local browser UI for PHPStan analysis results. No PHPStan Pro needed.

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

[](#installation)

```
composer require --dev felconca/phpstan-ui
```

Or for local development, add to your project's `composer.json`:

```
{
  "repositories": [
    {
      "type": "path",
      "url": "../phpstan-ui"
    }
  ],
  "require-dev": {
    "felconca/phpstan-ui": "*"
  }
}
```

Usage
-----

[](#usage)

Run PHPStan with the `ui` error formatter:

```
vendor/bin/phpstan analyse src/ --error-format=ui
vendor/bin/phpstan analyse src/ --error-format=ui --level=5
vendor/bin/phpstan analyse src/MyFile.php --error-format=ui
```

PHPStan runs as normal, then a local PHP server starts at `http://localhost:8742`and your browser opens automatically.

Press `Ctrl+C` in the terminal to stop the server when you're done.

Features
--------

[](#features)

- File tree sidebar with error counts
- Search across files and error messages
- Filter: All / Errors only / Ignorable only
- Sort: by error count or filename
- Expandable file blocks with line numbers
- Identifier tags, tip blocks, ignorable badges
- Zero-dependency — uses PHP built-in server
- Works on Windows, macOS, and Linux

Custom Port
-----------

[](#custom-port)

To change the default port (8742), override the service in your `phpstan.neon`:

```
services:
    -
        class: PhpstanUi\UiErrorFormatter
        arguments:
            port: 9000
            host: localhost
        tags:
            - phpstan.errorFormatter
```

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6
- PHPStan ^1.0
- Composer

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance94

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

2

Last Release

32d ago

PHP version history (2 changes)v1.0PHP &gt;=5.6

v1.01PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/137122811?v=4)[felckie yan](/maintainers/felconca)[@felconca](https://github.com/felconca)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/felconca-phpstan-ui/health.svg)

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

###  Alternatives

[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.0M321](/packages/drupal-core-dev)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.0M129](/packages/wp-cli-wp-cli-tests)[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87670.5k52](/packages/ticketswap-phpstan-error-formatter)[lipemat/phpstan-wordpress

Phpstan extension for working with WordPress

1460.1k1](/packages/lipemat-phpstan-wordpress)[tomasvotruba/ctor

Prefer constructor over always called setters

1524.9k19](/packages/tomasvotruba-ctor)[ergebnis/rector-rules

Provides rules for rector/rector.

10226.6k48](/packages/ergebnis-rector-rules)

PHPackages © 2026

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