| What it is | Adds code analysis to Laravel, improving developer productivity and code quality | Laravel static analysis and taint-based security scanning for Psalm | PHP static analysis that finds bugs without running your code | JavaScript with static types, compiled to plain JavaScript |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.70 | 0.58 | 0.76 | 0.86 |
| Stars | 6558 | 351 | 14171 | 111938 |
| Last commit | 2026-11-22 | 2026-11-26 | 2026-11-24 | 2026-11-26 |
| Licence | MIT | MIT | MIT | Apache-2.0 |
| Pricing | Free and open source | Free and open source | Free tier | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | — | — | — | — |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | — | — | — | Yes |
| Plugins | — | — | Yes | No |
| MCP server | — | — | — | No |
| Company | Larastan | Psalm | Ondřej Mirtes | Microsoft public company (NASDAQ:MSFT) |
| Features | - PHPStan extension for Laravel apps
- supports most of Laravel's magic
- finds bugs before tests are written
| - Taint analysis from Laravel request input to SQL, HTML, shell, file, HTTP and redirect sinks
- 13 Laravel-aware checks such as undefined model relations and unknown model attributes
- Opt-in analysis of Blade templates
- Boots the Laravel app to resolve facades, config and Eloquent models
- Generates a GitHub Actions workflow that uploads findings to Code Scanning
- Runs locally and in CI with no account or cloud upload
| - whole-codebase static analysis
- rule levels 0 to 10
- baseline for existing errors
- generics and array shapes in PHPDoc
- framework extensions for Symfony, Laravel and Doctrine
- result cache and parallel analysis
- PHPStan Pro web UI
| - static type checking
- type inference
- generics
- language service for editors
- compiles to standard JavaScript
- declaration files
|
| Limitations | | - Version 4.x needs PHP 8.2+, Laravel 12 or 13 and Psalm 7; Laravel 11 needs the 3.x line
- A run executes the project's own PHP (config, service providers and container bindings), so it shouldn't be run on an untrusted checkout outside a sandbox
| | |