# symfony/var-dumper

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/symfony-var-dumper).**

7,435 stars · 101 forks · PHP · MIT

## Links

- GitHub: https://github.com/symfony/var-dumper
- Homepage: https://symfony.com/var-dumper
- awesome-repositories: https://awesome-repositories.com/repository/symfony-var-dumper.md

## Description

This project is a PHP data inspector and variable renderer designed to visualize complex data structures in a human-readable format during development. It functions as a debugging tool that converts internal PHP variables into formatted text for analysis of property values and internal states.

The tool provides custom data visualization by transforming raw PHP data into tailored styles. It allows for the routing of dump output to different destinations, including web browsers and command line interfaces.

The system handles variable debugging by inspecting object properties and resource states. It includes capabilities for data analysis and the configuration of display aesthetics to control how information appears on screen.

## Tags

### Development Tools & Productivity

- [PHP Variable Inspectors](https://awesome-repositories.com/f/development-tools-productivity/php-variable-inspectors.md) — Visualizing the contents of complex PHP variables and data structures during development to identify bugs and state issues.
- [Runtime State Analyzers](https://awesome-repositories.com/f/development-tools-productivity/php-application-profilers/runtime-state-analyzers.md) — Analyzes internal object properties and resource states in real time to diagnose unexpected behavior in running applications.
- [PHP Development Tools](https://awesome-repositories.com/f/development-tools-productivity/php-development-tools.md) — Provides utilities for inspecting variable values across different output targets to enhance the PHP development workflow.
- [Variable Data Renderers](https://awesome-repositories.com/f/development-tools-productivity/variable-data-renderers.md) — Converts internal variables into human-readable formats that clearly show specialized types and property states. ([source](https://github.com/symfony/var-dumper/blob/8.2/CHANGELOG.md))
- [Variable Formatters](https://awesome-repositories.com/f/development-tools-productivity/variable-formatters.md) — Converts internal PHP data types into formatted text for output to browsers or command lines.
- [Variable Structure Traversers](https://awesome-repositories.com/f/development-tools-productivity/variable-structure-traversers.md) — Provides recursive traversal of nested data structures to uncover all levels of child properties and values.
- [Resource Handle Resolvers](https://awesome-repositories.com/f/development-tools-productivity/resource-handle-resolvers.md) — Maps internal PHP resource handles to descriptive text labels to make system handles readable for developers.

### Data & Databases

- [Data Visualization](https://awesome-repositories.com/f/data-databases/data-analysis-visualization/visualization-frameworks-libraries/data-visualization.md) — Renders raw PHP data into visual, human-readable formats with tailored styling for easier analysis.
- [Data Format Converters](https://awesome-repositories.com/f/data-databases/data-format-converters.md) — Converts complex objects and internal resources into readable text formats using custom conversion logic. ([source](https://github.com/symfony/var-dumper/blob/8.2/CHANGELOG.md))
- [Developer-Centric String Converters](https://awesome-repositories.com/f/data-databases/data-serialization-formats/output-formatting-systems/string-converters/data-to-string-converters/developer-centric-string-converters.md) — Implements a modular conversion layer that transforms raw PHP internal types into human-readable strings for analysis.
- [Multi-Destination Data Routing](https://awesome-repositories.com/f/data-databases/multi-destination-data-routing.md) — Directs variable dump data to multiple output targets, including the command line and web browsers. ([source](https://github.com/symfony/var-dumper/blob/8.2/CHANGELOG.md))

### Programming Languages & Runtimes

- [Reflection-Based State Inspection](https://awesome-repositories.com/f/programming-languages-runtimes/reflection-based-state-inspection.md) — Uses PHP reflection capabilities to access and modify private or protected members of objects during runtime debugging.

### Software Engineering & Architecture

- [Variable Visualizers](https://awesome-repositories.com/f/software-engineering-architecture/stacks/stack-trace-formatters/variable-aware-formatting/variable-visualizers.md) — Transforms complex data structures into a readable format to quickly analyze variable contents during development. ([source](https://github.com/symfony/var-dumper#readme))
- [Variable-Aware Formatting](https://awesome-repositories.com/f/software-engineering-architecture/stacks/stack-trace-formatters/variable-aware-formatting.md) — Implements variable-aware formatting that tracks nesting levels and types to apply consistent indentation and color coding.

### Part of an Awesome List

- [Debugging And Profiling](https://awesome-repositories.com/f/awesome-lists/devtools/debugging-and-profiling.md) — Dumps variables in a readable format.
