phpstan/extension-installer
Composer plugin that automatically discovers and installs PHPStan extensions, eliminating manual includes in phpstan.neon. Add it as a dev dependency, allow the plugin in Composer, and extensions can declare includes via extra.phpstan for auto-setup.
includes management in phpstan.neon. Eliminates configuration drift and human error when adding/removing extensions.includes entries. The plugin dynamically handles extension dependencies, ensuring correct order and avoiding conflicts.phpstan/phpstan-doctrine + phpstan/phpstan-phpunit).includes is trivial (though still recommended for future-proofing).Executives: "This tiny, open-source plugin automates our static code analysis setup, saving developers 10+ hours per quarter in configuration maintenance. It ensures consistent, error-free rule integration across all projects – directly reducing production bugs and accelerating feature delivery. With zero runtime overhead and MIT licensing, it’s a risk-free investment in engineering efficiency."
Engineering: "It eliminates manual includes management in phpstan.neon by auto-discovering extensions via Composer metadata. Developers simply composer require the extension – the plugin injects its config automatically. Zero maintenance, zero runtime cost, and handles edge cases like ignoring specific extensions. Used by PHPStan core maintainers and adopted by 497+ projects. This is the standard pattern for PHP static analysis tooling."
How can I help you explore Laravel packages today?