The VarDumper component provides mechanisms for walking through any arbitrary PHP variable. It provides a better dump() function that you can use instead of var_dump(). The VarDumper component creates a global dump() function that you can use instead of e.g. var_dump. By using it, you’ll gain per object and resource types specialized view to e.g. filter out Doctrine internals while dumping a single proxy entity, or get more insight on opened files with stream_get_meta_data. Configurable output formats, HTML or colored command line output. Ability to dump internal references, either soft ones (objects or resources) or hard ones (=& on arrays or objects properties). Repeated occurrences of the same object/array/resource won’t appear again and again anymore. Moreover, you’ll be able to inspect the reference structure of your data. Ability to operate in the context of an output buffering handler.

Features

  • By default, the output format and destination are selected based on your current PHP SAPI
  • The VarDumper component provides a dd() (“dump and die”) helper function
  • Inside a Symfony application, the output of the dump server is configured with the dump_destination option of the debug package
  • The DebugBundle allows greater integration of this component into Symfony applications
  • The VarDumper component provides a trait that can help writing some of your tests for PHPUnit
  • Configure the Dump Server with environment variables

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow VarDumper Component

VarDumper Component Web Site

Other Useful Business Software
Orchestrate Your AI Agents with Zenflow Icon
Orchestrate Your AI Agents with Zenflow

The multi-agent workflow engine for modern teams. Zenflow executes coding, testing, and verification with deep repo awareness

Zenflow orchestrates AI agents like a real engineering system. With parallel execution, spec-driven workflows, and deep multi-repo understanding, agents plan, implement, test, and verify end-to-end. Upgrade to AI workflows that work the way your team does.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of VarDumper Component!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Email Spam Filter Software, PHP System Software

Registered

2021-08-17