getting-started
Installation
SKILL.md
PHPStan Getting Started
When to use
- The user wants to choose or raise a PHPStan analysis level (0 through 10) for their code.
- The user wants to write or edit a
phpstan.neonconfig to set paths, level, includes, or ignore rules. - The user wants to install PHPStan and run static analysis on a PHP codebase for the first time.
When NOT to use
- Do not use PHPStan to enforce code style, spacing, or formatting; use a fixer such as PHP-CS-Fixer or PHP_CodeSniffer instead.
- Do not reach for PHPStan to verify runtime behavior or business logic; write unit or feature tests for that.