VarDumper Collector
Captures manual variable dumps (dump() / dd() calls) with source file and line information.

What It Captures
| Field | Description |
|---|---|
variable | The dumped variable value |
line | Source file and line of the dump call |
Data Schema
[
{
"variable": {"key": "value", "nested": [1, 2, 3]},
"line": "/app/src/Controller.php:42"
}
]Summary (shown in debug entry list):
{
"var-dumper": {
"total": 2
}
}Contract
use AppDevPanel\Kernel\Collector\VarDumperCollector;
$collector->collect(
variable: ['key' => 'value'],
line: '/app/src/Controller.php:42',
);INFO
VarDumperCollectorAppDevPanel\Kernel\Collector\VarDumperCollectorCollects Var Dumper data during application lifecycle. implements SummaryCollectorInterfaceAppDevPanel\Kernel\Collector\SummaryCollectorInterfaceSummary data collector responsibility is to collect summary data for a collector. Summary is used to display a list of previous requests and select one to display full info. Its data set is specific to the list and is reduced compared to full data collected in {@see CollectorInterface}. and depends on TimelineCollectorAppDevPanel\Kernel\Collector\TimelineCollectorCollects Timeline data during application lifecycle..
How It Works
Framework adapters hook into the dump() / dd() function to intercept variable dumps. Instead of outputting to the browser, the dumped values are captured and sent to the collector with source location.
Debug Panel
- Variable list — all dumped variables with source location
- Deep inspection — expandable variable viewer with nested object/array support
- File links — clickable source file paths for IDE integration