php-static-analysis/phpstan-extension
A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow.
Look elsewhere if you do not use PHPStan, need runtime validation rather than static analysis, require a mature package with strong community support and SLAs, or are standardized on Psalm/PHP CS Fixer/other tooling. Also avoid if your team cannot tolerate low adoption risk or cannot validate compatibility with current PHPStan releases.
For executives: This is a small, MIT-licensed PHPStan extension that lets engineers encode static-analysis intent directly in code using PHP attributes. It supports higher code-quality gates and cleaner CI enforcement at near-zero licensing cost. Because the project is young and has limited adoption, position it as a low-risk pilot rather than a platform-wide mandate until engineering validates fit.
For engineering: The package reduces reliance on scattered PHPStan ignore rules and inline comments by making analysis metadata explicit and colocated with code. It is easy to trial in an existing PHPStan pipeline, but should be pinned and reviewed for compatibility. Recommend a short spike: integrate in one service, test against your PHPStan level and CI matrix, and document attribute conventions before broader rollout.
How can I help you explore Laravel packages today?