yamadashy/phpstan-friendly-formatter
PHPStan Friendly Formatter enhances PHPStan output with code frames around errors, a summary of error identifiers and counts, and clean, readable reports. Install via Composer, include the extension in phpstan.neon, and set errorFormat to friendly.
Architecture fit: PHPStan's plugin architecture accommodates custom formatters seamlessly. The repository is now publicly accessible (yamadashy/phpstan-friendly-formatter), resolving prior transparency concerns. Code auditability and maintainability are significantly improved.
Integration feasibility: High. Clear Packagist registration (yamadashy/phpstan-friendly-formatter) and documented composer update steps enable straightforward dependency management. Explicit formatter registration via PHPStan configuration is well-supported.
Technical risk: Moderate. Public repository enables code review, active contributions (verified via GitHub contributors), and resolved past data inconsistencies (e.g., the "2026-01-27" date was likely a metadata error). Compatibility with PHPStan versions remains unverified but appears stable based on recent bug fixes.
Stack fit: Native compatibility with Laravel's PHPStan setup. The formatter integrates as a drop-in replacement without altering core PHPStan behavior. CI-specific annotations (GitHub Actions/TeamCity) align with standard DevOps tooling.
Migration path: Zero-downtime update via composer update yamadashy/phpstan-friendly-formatter. No configuration changes required for basic usage; CI-specific features activate automatically.
Compatibility: No breaking changes noted in release notes. Supports PHPStan v1+ (implied by recent contributions). Package size reduction via .gitattributes ensures minimal impact on deployment pipelines.
Sequencing: Immediate adoption recommended. CI detection and summary improvements provide instant value with no prerequisites.
Maintenance: Public GitHub repository enables community-driven maintenance. Issue tracking and contribution process are well-documented. Reduced distribution size (composer install optimizations) lowers infrastructure overhead.
Support: Active GitHub issue system with responsive maintainers (e.g., recent PR merges from contributors). Documentation references clear contribution guidelines.
Scaling: Minimal impact on runtime performance. Formatter operates as a CLI tool with no resource-intensive dependencies. CI annotation features scale with build volume.
Failure modes: Fixed DI injection bug (#32) and improved error handling reduce common failure points. CI-specific output errors would manifest as missing annotations (non-critical).
Ramp-up: Low barrier to entry. Clear installation instructions, visual examples in release notes, and zero-config CI integration simplify adoption for existing PHPStan users.
How can I help you explore Laravel packages today?