A PHP component that matches incoming HTTP request URLs to route configurations and generates URLs from named routes.
symfony/var-dumper
A PHP component that provides a better dump() function for inspecting arbitrary variables, as a replacement for var_dump().
- Stars
- 7,424
- Forks
- 103
- Open issues
- 0
- Last commit
- 20 hours ago
What is it?
VarDumper is a PHP component from the Symfony framework that walks through any arbitrary PHP variable and renders its structure. It offers a dump() function intended as a more readable replacement for the built-in var_dump().
The component is designed to be used during development and debugging, letting developers inspect nested arrays, objects and other values without writing custom output code. It is distributed as a standalone Composer package under the MIT license, and it is also a component of the main Symfony framework.
Key features
- 01Provides a dump() function as a replacement for var_dump().
- 02Walks through arbitrary PHP variables, including nested arrays and objects.
- 03Installable as a standalone Composer package.
- 04Also ships as a component of the Symfony framework.
Use cases
- Inspecting complex variables while debugging a PHP application.
- Replacing var_dump() calls with a more readable output during development.
- Exploring the structure of nested arrays and objects in PHP projects.
Topics
FAQ
- What is var-dumper?
- A PHP component that provides a better dump() function for inspecting arbitrary variables, as a replacement for var_dump(). VarDumper is a PHP component from the Symfony framework that walks through any arbitrary PHP variable and renders its structure. It offers a dump() function intended as a more readable replacement for the built-in var_dump().
- Is var-dumper free to use? What license does it have?
- var-dumper is open source under the MIT license. Check the license terms before using it in commercial products.
- Is var-dumper still maintained?
- Actively maintained. The last commit to var-dumper was on Oct 24, 2026.
- What can I use var-dumper for?
- Inspecting complex variables while debugging a PHP application. Replacing var_dump() calls with a more readable output during development. Exploring the structure of nested arrays and objects in PHP projects.
- Where can I get var-dumper?
- The source code and installation instructions are on GitHub: https://github.com/symfony/var-dumper
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A PHP component for running external commands in sub-processes, with control over input, output and timeouts.
An error handling framework for PHP that replaces default error output with a readable debug page and structured JSON/XML responses.
A pure-PHP fallback that provides a partial implementation of the Mbstring extension for environments where it is not installed.
A tiny JavaScript debugging utility that prints namespaced debug output in Node.js and web browsers, toggled via the DEBUG environment variable.
A visual and command-line developer tool for testing and debugging Model Context Protocol (MCP) servers, with web, CLI, and terminal UI modes.