create-phpstan-config
Installation
SKILL.md
PHPStan Configuration Generator
Generates optimized PHPStan configurations for PHP 8.4+ projects.
All examples target PHPStan 2.x:
levelaccepts0-10(10= max), and parameters removed in 2.0 (checkMissingIterableValueType,checkGenericClassInNonGenericObjectType,checkExplicitMixed,checkImplicitMixed) must never be generated — they abort the run.
Generated Files
phpstan.neon # Main configuration
phpstan-baseline.neon # Error baseline (if needed)