roave/infection-static-analysis-plugin
Runs Psalm-based static analysis on top of infection/infection to classify escaped mutants as type errors and mark them killed, improving mutation score. Provides a wrapper CLI compatible with Infection flags plus --psalm-config.
Architecture fit: The package remains aligned with Laravel’s static analysis ecosystem (Composer, Infection, Psalm/PHPStan), though its dependency on Infection v0.32.0 (a newer but still niche version) introduces potential compatibility friction with modern Laravel projects. The plugin’s core purpose—enhancing Infection with static analysis—still fits Laravel’s testing/quality toolchain, but teams using Infection v1.x+ or alternative mutation-testing tools may face integration hurdles. The lack of new features in this release suggests stability over innovation, reducing architectural disruption.
Integration feasibility: Composer installation remains trivial, but the future-dated release (2025-12-29) and unknown repository status persist as critical trust barriers. The new release’s sole updates (dependency bumps via Renovate) imply automated maintenance, not active development. Source code remains accessible, but the absence of human contributors or issue resolution raises concerns about long-term viability. Security/dependency risks escalate without community oversight.
Technical risk: High due to:
Key questions:
Stack fit: The package integrates cleanly with Laravel’s testing pipeline (e.g., GitHub Actions, PHPUnit) but requires explicit configuration for:
infection.config.php adjustments if using Laravel’s default setup.Migration path:
php -v and check Infection’s docs).composer require --dev roave/infection-static-analysis-plugin:^1.43.0
infection.config.php to specify static analysis tools (if not auto-detected).phpunit.xml or custom scripts to trigger the plugin../vendor/bin/infection --show-mutations --show-covered --show-infection-rate --static-analysis
Compatibility:
Sequencing:
feature/infection-static-analysis).Maintenance:
Support:
Scaling:
Failure modes:
Ramp-up:
How can I help you explore Laravel packages today?