Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpstan Friendly Formatter Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

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.

Integration Approach

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.

Operational Impact

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests