PHPackages                             jwricky/phpstan-visualizer - 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. jwricky/phpstan-visualizer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jwricky/phpstan-visualizer
==========================

A beautiful Xcode-style visualizer for PHPStan reports.

v1.0.0(3mo ago)10MITBladePHP ^8.1

Since Feb 7Pushed 3mo agoCompare

[ Source](https://github.com/JWRicky/phpstan-visualizer)[ Packagist](https://packagist.org/packages/jwricky/phpstan-visualizer)[ RSS](/packages/jwricky-phpstan-visualizer/feed)WikiDiscussions main Synced 1mo ago

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

PhpStan Visualizer
==================

[](#phpstan-visualizer)

A beautiful, Xcode-style visualizer for PHPStan reports in Laravel.
Developed by **JWRicky**.

---

Prerequisites
-------------

[](#prerequisites)

This package requires **PHPStan** (or **Larastan**) to be installed and configured in your Laravel project.

If you haven't installed it yet, please run:

```
composer require --dev larastan/larastan
```

Features
--------

[](#features)

- **Xcode-style UI**: Clean and intuitive error reporting inspired by modern IDEs.
- **Deep Linking**: Open files directly in VSCode or other supported editors directly from your browser.
- **Easy Integration**: Specifically designed for seamless use within Laravel projects.

Appearance Customization

   [![display](https://private-user-images.githubusercontent.com/63277990/546614096-cff3aa9f-b100-4ee0-a363-162a28bb3b81.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0Mzc3MDYsIm5iZiI6MTc3NTQzNzQwNiwicGF0aCI6Ii82MzI3Nzk5MC81NDY2MTQwOTYtY2ZmM2FhOWYtY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DYyZmY3NmZmODRlZTZkYmU4OGU4YTFhZmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.g-NCwsZ195pF6OcJ0vNIrK2Y1CU7jTE6A4V94OYv1f8)
**Black**   [![display](https://private-user-images.githubusercontent.com/63277990/546614130-0112ed52-bfda-4ef2-97a2-393231f53dd5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0Mzc3MDYsIm5iZiI6MTc3NTQzNzQwNiwicGF0aCI6Ii82MzI3Nzk5MC81NDY2MTQxMzAtMDExMmVkNTItYmZkYS00ZWYyLTk3YTItMzkzMjMxZjUzZGQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA2VDAxMDMyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0NGIzNDIxZTIyODRlNzAwOTQzMjJkMGFhMTkyOGVlNDgzZTQ4M2Q2ZWY3Zjk3NjBiYmVhNDRiNGU2Yzk5MjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DsMpxpF2sg88OZjLSI12q_3XcuUTrlulY_QC5qQ-oF8)](https://private-user-images.githubusercontent.com/63277990/546614130-0112ed52-bfda-4ef2-97a2-393231f53dd5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0Mzc3MDYsIm5iZiI6MTc3NTQzNzQwNiwicGF0aCI6Ii82MzI3Nzk5MC81NDY2MTQxMzAtMDExMmVkNTItYmZkYS00ZWYyLTk3YTItMzkzMjMxZjUzZGQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA2VDAxMDMyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0NGIzNDIxZTIyODRlNzAwOTQzMjJkMGFhMTkyOGVlNDgzZTQ4M2Q2ZWY3Zjk3NjBiYmVhNDRiNGU2Yzk5MjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DsMpxpF2sg88OZjLSI12q_3XcuUTrlulY_QC5qQ-oF8)
**White**  Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require jwricky/phpstan-visualizer:^1.0
```

Setup
-----

[](#setup)

After installation, complete the following steps to enable the visualizer:

### 1. Register Service Provider

[](#1-register-service-provider)

If you are using Laravel 11+ or have auto-discovery disabled, add the provider to `config/app.php` (for Laravel 10) or `bootstrap/providers.php` (for Laravel 11):

```
JWRicky\PhpStanVisualizer\PhpStanVisualizerServiceProvider::class,
```

### 2. Publish Configuration

[](#2-publish-configuration)

Publish the configuration file to customize the editor links or file paths:

```
php artisan vendor:publish --tag=phpstan-visualizer-config
```

### 3. Generate PHPStan Report

[](#3-generate-phpstan-report)

This package visualizes a `report.json` file. Ensure you generate it using the JSON format:

```
phpstan analyse --error-format=json > storage/app/phpstan/report.json
```

**Tip:** Add this to your `composer.json scripts for convenience:

```
"scripts": {
    "phpstan:json": "phpstan analyse --error-format=json > storage/app/phpstan/report.json || true"
}
```

### 4. Access the Dashboard

[](#4-access-the-dashboard)

Once the report is generated, visit the following URL in your browser:

`http://your-app.test/phpstan`

---

License
-------

[](#license)

The MIT License (MIT). Please see the License File for more information.

Maintained by **JWRicky**.

You are free to use, copy, modify, and distribute this software for personal or commercial purposes.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance81

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

100d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d65d1a00e6e55d02230babcdfa3c09f864d3e1d5fa00eba4ff04cdb6336de0a9?d=identicon)[JWRicky](/maintainers/JWRicky)

---

Top Contributors

[![JWRicky](https://avatars.githubusercontent.com/u/63277990?v=4)](https://github.com/JWRicky "JWRicky (3 commits)")

### Embed Badge

![Health badge](/badges/jwricky-phpstan-visualizer/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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