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(4mo ago)10MITBladePHP ^8.1

Since Feb 7Pushed 4mo 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 today

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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA1NTYwMTMsIm5iZiI6MTc4MDU1NTcxMywicGF0aCI6Ii82MzI3Nzk5MC81NDY2MTQwOTYtY2ZmM2FhOWYtYjEwMC00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NDMzM2QyMzY0MzlhYTgwNzFhNjdmZjMzYTkzMzY2NGExYzYyNzc5MDY5ODY3ZGNiYzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.8355-emgfTOEhnonbrXva_KVveQQ7LMmwQ9QkBZRbfg)
**Black**   [![display](https://private-user-images.githubusercontent.com/63277990/546614130-0112ed52-bfda-4ef2-97a2-393231f53dd5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA1NTYwMTMsIm5iZiI6MTc4MDU1NTcxMywicGF0aCI6Ii82MzI3Nzk5MC81NDY2MTQxMzAtMDExMmVkNTItYmZkYS00ZWYyLTk3YTItMzkzMjMxZjUzZGQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjA0VDA2NDgzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAzOGYxNTFkNDk4NzYwMDRiMDM3YzkxMzA2OGZhNjYxM2QwMTY4ODJiYWIzY2MwNDg2MDExMzgyYjZkMWQ5ZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.dXxatJSAmU6Tso7gDeqebIQMpxYeLFwLpS6jcGgoNFk)](https://private-user-images.githubusercontent.com/63277990/546614130-0112ed52-bfda-4ef2-97a2-393231f53dd5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA1NTYwMTMsIm5iZiI6MTc4MDU1NTcxMywicGF0aCI6Ii82MzI3Nzk5MC81NDY2MTQxMzAtMDExMmVkNTItYmZkYS00ZWYyLTk3YTItMzkzMjMxZjUzZGQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjA0VDA2NDgzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAzOGYxNTFkNDk4NzYwMDRiMDM3YzkxMzA2OGZhNjYxM2QwMTY4ODJiYWIzY2MwNDg2MDExMzgyYjZkMWQ5ZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.dXxatJSAmU6Tso7gDeqebIQMpxYeLFwLpS6jcGgoNFk)
**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

33

—

LowBetter than 72% of packages

Maintenance74

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

147d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/63277990?v=4)[JWRicky](/maintainers/JWRicky)[@JWRicky](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M376](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

244.6M137](/packages/illuminate-cookie)

PHPackages © 2026

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