create-phpstan-config

Installation
SKILL.md

PHPStan Configuration Generator

Generates optimized PHPStan configurations for PHP 8.4+ projects.

All examples target PHPStan 2.x: level accepts 0-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)

Configuration by Project Type

New Project (Level 8-9)

Installs
6
GitHub Stars
105
First Seen
Mar 17, 2026