glhd/laravel-dumper
Improves Laravel's dump() and dd() output with richer, framework-aware context. This drop-in package adds custom casters for models, collections, requests, and more, making debugging faster and clearer without changing your workflow.
Architecture fit. glhd/laravel-dumper is a developer-ergonomics package, not an application dependency. It augments Laravel's dump()/dd() output (typically by extending Symfony VarDumper and registering a service provider) so Eloquent models, collections, and framework objects render legibly. Architecturally it should sit exclusively in require-dev, with zero production runtime surface. On that basis it is a low-coupling, low-blast-radius addition — no database, queue, cache, or HTTP middleware footprint to reason about.
Integration feasibility. Adoption is a one-line Composer change plus package auto-discovery. The 3.0.1 release is a patch that adds Laravel 13 support — most likely a widening of the illuminate/* / php constraints in composer.json, possibly with minor internal adjustments for framework API drift. This is a compatibility signal rather than a feature delivery; effort to consume it is near zero for teams already on 3.0.x.
Technical risk. Low, with three caveats worth verifying rather than assuming:
dump/dd helper binding or the VarDumper handler globally, it can interact with Ignition, Telescope, Clockwork, or a custom VarDumper::setHandler() in AppServiceProvider. Conflicts here surface as confusing debug output, not crashes.require instead of require-dev and shipping a dumper to production. Enforce via review/CI check.Key questions.
dump()/dd() globally, and is that override disableable per-environment?Stack fit. Targets Laravel applications on modern PHP (8.2+ typical for 3.x-era packages). Fits local development, Tinker/REPL sessions, and ad-hoc debugging. It has no place in staging or production dependency sets. Value is highest on teams that debug Eloquent-heavy code and lowest on API-only services with structured logging.
Migration path.
composer update; no code changes, no test changes.require-dev with a caret constraint (^3.0), commit composer.lock, and document the removal command alongside it.Compatibility. The Laravel 13 support claim is forward-looking — Laravel 13 is not the version most estates run today. Do not let this release drive a framework upgrade; consume it when the application itself moves to Laravel 13, or when the constraint widening incidentally resolves a Composer conflict on current versions. Confirm the package's Laravel constraint range still covers the versions actually deployed across the estate.
Sequencing.
require-dev; verify dump()/dd() output in Tinker, in a PHPUnit run, and in an Artisan command.Maintenance. Minimal and bounded. As a dev-only dependency it does not participate in deploy artifacts, runtime upgrades, or security patch SLAs. Realistic ongoing cost is a version bump per framework major plus an occasional conflict resolution in composer update. The 3.0.1 release is evidence the maintainer tracks Laravel releases promptly, which materially lowers the "abandoned package blocks our upgrade" risk.
Support. Community OSS with effectively no vendor support contract. Internal support burden should be assumed to be "remove it and use native dump()" — a one-line rollback. Do not build team workflows that depend on its specific output format.
Scaling. No runtime scaling implications whatsoever. The only scale-adjacent concern is developer-side: verbose dump output left in code can inflate CI logs and slow log ingestion, but that is a code-review discipline issue, not a property of this package. Onboarding a large engineering org costs one line in the dev-setup doc.
Failure modes.
require and shipped to production — the only high-severity mode; mitigate with a CI check on composer.json dependency sections.composer update — mitigate by treating this package as removable-by-default and not depending on it in scripts.Ramp-up. Effectively zero. The API surface is Laravel's own dump()/dd(); engineers need no new mental model. A single sentence in the developer onboarding guide ("this package improves dump() output; it is dev-only") is sufficient. The 3.0.1 release does not change this calculus — it is a maintenance patch that slightly improves the package's long-term viability without altering fit, risk, or integration effort.
How can I help you explore Laravel packages today?