talira

Compare

LarastanPsalm Laravel pluginPHPStanTypeScript
What it isAdds code analysis to Laravel, improving developer productivity and code qualityLaravel static analysis and taint-based security scanning for PsalmPHP static analysis that finds bugs without running your codeJavaScript with static types, compiled to plain JavaScript
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.700.580.760.86
Stars655835114171111938
Last commit2026-11-222026-11-262026-11-242026-11-26
LicenceMITMITMITApache-2.0
PricingFree and open sourceFree and open sourceFree tierFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API———Yes
Plugins——YesNo
MCP server———No
CompanyLarastanPsalmOndřej MirtesMicrosoft
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