Overview
Psalm performs static analysis with a focus on types, taint analysis and potential defects.
Example
composer require --dev vimeo/psalm
vendor/bin/psalm --init
vendor/bin/psalm
Run analysis regularly and review its findings as part of code review.
Official website: Psalm
Evaluation checklist
- Prefer official documentation and repositories.
- Check supported PHP versions and release history.
- Review installation instructions and license terms.
- Keep dependencies updated and run security checks.