PHPackages                             gboquizosanchez/phpstan-report - 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. gboquizosanchez/phpstan-report

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

gboquizosanchez/phpstan-report
==============================

Laravel package to display PHPStan errors in a view

1.0.4(9mo ago)0340MITBladePHP ^8.3

Since Aug 1Pushed 2mo agoCompare

[ Source](https://github.com/gboquizosanchez/phpstan-report)[ Packagist](https://packagist.org/packages/gboquizosanchez/phpstan-report)[ RSS](/packages/gboquizosanchez-phpstan-report/feed)WikiDiscussions 1.x Synced yesterday

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

[![PHPStan Report](https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f4ca.svg)](https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f4ca.svg)`gboquizosanchez/phpstan-report`
================================

[](#gboquizosanchezphpstan-report)

**A beautiful web interface for PHPStan results in Laravel**

[![Latest Stable Version](https://camo.githubusercontent.com/8ab97ac7f5dad84c87cf834c5a9027923b14e6cb8c2909ef9284bcfc40b45379/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67626f7175697a6f73616e6368657a2f7068707374616e2d7265706f72742e737667)](https://packagist.org/packages/gboquizosanchez/phpstan-report)[![Total Downloads](https://camo.githubusercontent.com/4ab35ad9a83e333e836856b1bdeb704e6693f6e9712c753579b96e45da063949/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67626f7175697a6f73616e6368657a2f7068707374616e2d7265706f72742e737667)](https://packagist.org/packages/gboquizosanchez/phpstan-report)[![PHP](https://camo.githubusercontent.com/31a87e1f22b529af58a2615dde6bcd4902061209db5e98adc4b5dff3e99f5f02/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e332d3737374242343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/gboquizosanchez/phpstan-report)[![Laravel](https://camo.githubusercontent.com/cf3203afc4f003dc5656e6a684f11a5786224fdb31ec4c4848e807068c048bc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d313125323025374325323031322d4646324432303f6c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/gboquizosanchez/phpstan-report)[![License: MIT](https://camo.githubusercontent.com/6fd529fdc57adf8eb89582bee619d571fd9037b380418c50bb57e9c91598e03b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3232433535452e737667)](LICENSE.md)

---

*Stop squinting at terminal output. Run PHPStan, browse results, fix errors — all from your browser.*

---

Overview
--------

[](#overview)

PHPStan Report is a Laravel package that provides an elegant web interface for viewing, analyzing, and managing PHPStan static analysis results. Transform your code quality insights into an interactive, user-friendly dashboard.

[![Panel](https://raw.githubusercontent.com/gboquizosanchez/phpstan-report/refs/heads/1.x/arts/panel.jpg)](https://raw.githubusercontent.com/gboquizosanchez/phpstan-report/refs/heads/1.x/arts/panel.jpg)

---

✨ Features
----------

[](#-features)

- 🎯 **Dynamic Level Control** — Adjust PHPStan analysis levels (1–10) from the UI
- ⚡ **Real-time Analysis** — Run PHPStan directly from your browser
- 📊 **Beautiful Reports** — Errors grouped by file, expandable inline, with severity indicators
- 🌓 **Dark / Light theme** — Persisted per session
- 📋 **One-click copy** — Copy error messages and suggested fixes instantly
- 📱 **Responsive** — Optimized for mobile and desktop
- 🚀 **Composer integration** — Seamless integration with Composer scripts
- 💾 **Auto-save** — Remembers your preferred configuration

---

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

[](#requirements)

- PHP 8.3+
- Laravel 11.0+ or 12.0+

Warning

This package is intended for **development environments only**. Do not install it in production.

---

📦 Installation
--------------

[](#-installation)

```
composer require gboquizosanchez/phpstan-report
```

Run the installation command to automatically configure everything:

```
php artisan install:phpstan-report
```

This command will:

1. **Create `phpstan.neon`** — Generates a base config at level 3 (if not already present)
2. **Publish assets** — Copies assets to `public/vendor/phpstan-report`
3. **Update `composer.json`** — Adds a `phpstan-report` Composer script
4. **Run initial analysis** — Executes PHPStan and discovers your codebase

### Generated `phpstan.neon`

[](#generated-phpstanneon)

```
parameters:
    level: 3
    paths:
        - app
```

You can customize this file to match your project's needs.

---

🚀 Usage
-------

[](#-usage)

Navigate to the dashboard in your browser:

```
https://your-application.com/phpstan-report

```

Or verify the route is registered:

```
php artisan route:list --name=phpstan
```

You can also trigger analysis from the command line:

```
composer phpstan-report
```

### Dashboard features

[](#dashboard-features)

**Analysis overview** — Real-time stats showing total errors, warnings, and current analysis status.

**Level management** — Interactive slider to adjust PHPStan levels (1–10) with instant feedback and automatic re-analysis on change.

**Error browser** — File-based organization with expandable error lists, color-coded severity, and one-click copy for quick sharing.

**Theme &amp; preferences** — Toggle between dark and light mode; settings persist across sessions.

---

Troubleshooting
---------------

[](#troubleshooting)

1. **Check the logs** — Laravel logs may contain helpful error messages.
2. **Verify requirements** — Ensure PHP and Laravel versions meet the minimum requirements.
3. **Clear cache** — Run `php artisan config:clear` and `php artisan cache:clear`.
4. **Open an issue** — [Report bugs or request features](https://github.com/gboquizosanchez/phpstan-report/issues/new).

---

Contributing
------------

[](#contributing)

Contributions are welcome!

- 🐛 **Report bugs** via [GitHub Issues](https://github.com/gboquizosanchez/phpstan-report/issues/new)
- 💡 **Suggest features** or improvements
- 🔧 **Submit pull requests** with fixes or enhancements
- 📖 **Improve documentation** or add examples

---

Credits
-------

[](#credits)

- **Author**: [Germán Boquizo Sánchez](mailto:germanboquizosanchez@gmail.com)
- **Built with**: [PHPStan](https://phpstan.org/) · [Laravel](https://laravel.com/) · [Alpine.js](https://alpinejs.dev/) · [Tailwind CSS](https://tailwindcss.com/)
- **Contributors**: [View all contributors](https://github.com/gboquizosanchez/phpstan-report/contributors)

---

📄 License
---------

[](#-license)

This package is open-source software licensed under the [MIT License](LICENSE.md).

---

Made with ❤️ for the PHP community

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance72

Regular maintenance activity

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Recently: every ~62 days

Total

6

Last Release

88d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20032391?v=4)[Germán Boquizo Sánchez](/maintainers/gboquizosanchez)[@gboquizosanchez](https://github.com/gboquizosanchez)

---

Top Contributors

[![gboquizosanchez](https://avatars.githubusercontent.com/u/20032391?v=4)](https://github.com/gboquizosanchez "gboquizosanchez (10 commits)")

---

Tags

interfacephpstanreports

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/gboquizosanchez-phpstan-report/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

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

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.4k](/packages/larastan-larastan)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M146](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725172.4k14](/packages/tallstackui-tallstackui)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)

PHPackages © 2026

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