| What it is | Laravel static analysis and taint-based security scanning for Psalm | Adds code analysis to Laravel, improving developer productivity and code quality | PHP static analysis that finds bugs without running your code | Free and open source static analysis tool for finding errors in PHP code |
| Features | - 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
| - PHPStan extension for Laravel apps
- supports most of Laravel's magic
- finds bugs before tests are written
| - 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
| - type checking with docblock generics and array shapes
- strictness levels from loose to strict
- taint analysis for SQL injection, XSS and other vulnerabilities
- automatic fixes for many issues
- plugins for frameworks and libraries
- online playground
- IDE support
- GitHub Actions for analysis and security scans (SARIF to code scanning)
- All 10 features
|