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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
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