patchwork/dumper
A lightweight drop-in replacement for var_dump() from the Patchwork project. It dumps PHP variables in the browser or CLI with syntax highlighting, collapsible structures, and clean formatting, making nested arrays and objects easy to inspect while debugging without heavy dependencies.
patchwork/dumper vs. tchwork/debug-bundle). That is an ideal reference case for a written adoption gate: maintained? supported PHP/Laravel versions? nonzero downstream usage? CVE path? A single documented "no" here makes the gate credible across every future package review.symfony/var-dumper with dump()/dd(), php artisan dump-server, plus Telescope, Ignition, and Xdebug. The decision it supports is "do not staff a debugging-tooling workstream; standardize on maintained defaults and budget a small DX line instead."dump()/dd() — a real risk of a fatal Cannot redeclare that breaks the app and CI.DebugBundle behavior the framework version lacks — and the work is explicitly time-boxed, require-dev only, confined to a locked-down local container, with a named owner and a removal ticket tied to the migration.Look elsewhere when:
symfony/var-dumper (dump()/dd()), php artisan dump-server, Telescope, Ignition, Clockwork, or Xdebug. These are already installed or one Composer line away.To executives (one paragraph): This is a 2014-era backport of a Symfony debugging component: archived, unmaintained, with no downstream users and metadata that doesn't even match its own repository. It is not an adoption candidate and carries no product value on its own. Its usefulness to us is as evidence — it shows where legacy framework debt accumulates and why a funded upgrade path is cheaper than indefinite backporting. Recommendation: no investment, no trial, no procurement. Treat it as a documented "no" and cite it in our dependency policy.
To engineering leadership: Do not add this to any Laravel service. Laravel already ships the entire capability set — symfony/var-dumper with dump()/dd(), artisan dump-server, Telescope, Ignition, Xdebug — maintained and PHP 8-compatible. Installing this risks a fatal helper redeclaration against Laravel's own globals, and would convert a zero-effort dev dependency into internally-owned fork maintenance. If a legacy Symfony 2.x service truly needs it, cap the work at a time-boxed, require-dev-only fork with a named owner and a removal ticket tied to the migration. Otherwise standardize on the maintained defaults and spend the saved time on the upgrade.
To the engineering team: If you're reaching for this, the real problem is the framework version, not the missing dumper. Check dump()/dd() and php artisan dump-server first; if there's still a gap, open a Telescope/Clockwork/spatie/laravel-ray evaluation or write a thin wrapper over symfony/var-dumper. Read the bundle's source if you want a clean example of kernel-level debug wiring — that transfers. Don't install it.
The ask: Approve two cheap things — (1) a dependency-adoption gate requiring a maintained status, supported runtimes, a security response path, and nonzero downstream usage; and (2) a small DX budget for maintained tooling (Telescope, Xdebug, structured logging). Together they prevent this exact situation recurring across the estate, and both cost less than a single week of forked-package maintenance.
How can I help you explore Laravel packages today?