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

Php Var Dump Check Laravel Package

php-parallel-lint/php-var-dump-check

CI-friendly tool that scans your PHP code for leftover debugging statements like var_dump(), print_r(), die()/dd() and similar. Helps keep accidental dumps out of production by failing builds when debug output is found.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enforces code hygiene by automatically detecting accidental var_dump() or print_r() calls in production code, reducing runtime errors and security risks from debug artifacts.
  • Supports CI/CD pipeline enhancements by integrating as a pre-commit or build-step check to block deployments with debug code, aligning with "shift-left" quality practices.
  • Justifies "buy" over "build" for small-to-mid-sized PHP projects where a dedicated, low-effort tool is needed to solve a specific problem, avoiding custom development costs.

When to Consider This Package

  • Adopt if your team uses PHP 7.x (last release was 2020; compatibility with PHP 8+ is unverified), experiences frequent production incidents due to forgotten debug statements, and has legal approval for NOASSERTION licenses.
  • Avoid if your project requires active maintenance, modern PHP support (e.g., PHP 8+), or advanced features (e.g., custom dump pattern detection). Prioritize alternatives like phpstan, psalm, or symfony/var-dumper with stricter license terms and ongoing updates.

How to Pitch It (Stakeholders)

Executives: "This tool prevents costly production outages and security gaps caused by accidental debug code in deployments. With near-zero setup effort, it ensures clean releases, protects customer trust, and frees engineering resources from manual code reviews—directly reducing operational risk and support costs."

Engineering: "Automates detection of forgotten var_dump() calls in your codebase, eliminating a common source of production bugs. It integrates seamlessly into existing CI pipelines as a lightweight, focused check—no custom logic needed. Ideal for teams wanting to enforce code hygiene without overhauling tooling."

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
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
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