php-standard-library/phpstan-extension
PHPStan extension for the PHP Standard Library (PSL) that teaches PHPStan about PSL types, generics, and collection APIs. It improves type inference, adds custom rules, reduces false positives, and catches PSL-specific errors during static analysis for safer, more reliable PHP code.
require-dev dependency plus a PHPStan config include. No production code path changes and no runtime deployment impact.phpstan/extension-installer or an explicit includes entry in phpstan.neon.require-dev dependency → include extension config → run locally against baseline → review true positives → update CI gate → monitor for one iteration → expand to additional repos. Rollback is removing the include and dev dependency.How can I help you explore Laravel packages today?