LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

var-dump-server

Symfony PHP variable dump receiver

TLDR

Start server on the default address
$ var-dump-server
copy
Start on a custom host and port
$ var-dump-server --host=[127.0.0.1:9912]
copy
Output dumps in HTML format to a file
$ var-dump-server --format=html > [dump.html]
copy

SYNOPSIS

var-dump-server [--host address] [--format fmt] [options]

DESCRIPTION

var-dump-server starts a server that collects and displays variable dumps from PHP applications using the Symfony VarDumper component. Instead of dumping variables directly into the browser or console output, the application sends them to this centralized server for structured display.This approach keeps debug output separate from application responses, making it particularly useful for debugging API endpoints, AJAX requests, and command-line scripts. The server formats dumps with syntax highlighting and collapsible structures, providing a cleaner debugging experience than inline var_dump output.

PARAMETERS

--host ADDR

Bind address and port (default: 127.0.0.1:9912, or the VARDUMPERSERVER env var).
--format FMT
Output format (cli or html).
--help
Show help.

CAVEATS

Symfony/PHP specific. VarDumper required. Development tool.

HISTORY

var-dump-server is part of Symfony VarDumper component for receiving and displaying variable dumps from PHP applications.

SEE ALSO

php(1), symfony(1)

Copied to clipboard
Kai