shipmonk/phpstan-baseline-per-identifier
Split a PHPStan baseline into multiple NEON files grouped by error identifier, with a loader include. Generate baseline as usual, then run split-phpstan-baseline to organize ignores per identifier for easier reviews and maintenance.
Enables scalable static analysis management for large Laravel codebases by splitting monolithic PHPStan baselines into per-error-identifier files, eliminating manual maintenance overhead. Eliminates the need to build custom tooling (build vs buy) as it's a mature, battle-tested solution with 91+ stars and active maintenance. Critical for teams needing granular error tracking (e.g., isolating "empty.notAllowed" issues from "foreach.nonIterable" errors), reducing merge conflicts during baseline updates, and supporting targeted remediation workflows. Integrates seamlessly with CI/CD pipelines via composer scripts, accelerating code quality processes without disrupting existing workflows.
✅ Adopt when baseline files exceed 1
How can I help you explore Laravel packages today?