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

Product Decisions This Supports

  • Build vs Buy: Eliminates need to build/maintain custom PHPStan formatters, saving engineering cycles. The MIT license and lightweight nature (now reduced package size via .gitattributes) make it a low-risk, high-ROI acquisition.
  • Developer Experience Roadmap: Directly supports DX initiatives by reducing noise in static analysis outputs. New error breakdown tree and polished summary output enable teams to quickly identify and prioritize issues without deciphering logs.
  • CI/CD Optimization: Ensures consistent, readable error reporting in pipelines. Now includes automatic CI-specific annotations for GitHub Actions (PR diff view) and TeamCity, reducing time spent debugging failed builds and improving deployment velocity.
  • Scalable Adoption: Ideal for teams expanding PHPStan usage across multiple projects. Uniform error formatting with detailed statistics supports cross-team collaboration and standardizes issue resolution.

When to Consider This Package

  • Adopt when: Your team uses PHPStan and faces challenges with verbose output in CI (especially GitHub Actions or TeamCity); requires clear, navigable error reporting with automatic CI annotations and detailed error breakdowns for faster issue resolution.
  • Avoid when: You need highly customized formatting beyond this package's scope, use a different static analysis tool (e.g., Psalm), PHPStan isn’t part of your workflow, or your CI platform isn’t GitHub Actions/TeamCity (for automatic annotations).

How to Pitch It (Stakeholders)

Executives: "This package slashes debugging time by 30%+ through automated CI error annotations in GitHub and TeamCity, with actionable summaries that highlight critical issues. By eliminating manual log parsing, it accelerates deployment cycles and frees engineering resources for higher-value work—delivering measurable ROI with minimal overhead."
Engineering: "Automatically integrates with GitHub Actions and TeamCity to display errors directly in PR diffs. The redesigned error summary provides clear breakdowns by issue type, making it easier to prioritize fixes. Minimal configuration required, with a smaller package size for faster installations and reduced CI pipeline noise."

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