Skip to content
/ xdump Public

This variable dumper provides readability and flexibility instead of var_dump()

License

Notifications You must be signed in to change notification settings

ymm1x/xdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xdump

This variable dumper utility provides readability and flexibility instead of var_dump().

  • Shorthand function will be declared just by installing the package.
    • Usage: d($var1, $var2, $var3)
  • The file name and line number of the dump source are also output together.
  • Decoration with HTML and CSS.
    • When executed from the shell, it is omitted and becomes simple output.

Screen shot

Screen shot

Long vertically output is scrollable.

Installation

composer require ymm1x/xdump

Usage

Variable-length arguments are supported.

Shorthand

d($var1, $var2, $var3);

Longhand

\Ymm1x\XDump\Dumper::dump($var1, $var2, $var3);

License

This library is released under the MIT license.

About

This variable dumper provides readability and flexibility instead of var_dump()

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages