Skip to content

adudjandaniel/php_dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variable Dumping with PHP

Being used to the fancy dump Adobe Coldfusion uses, I can hardly make sense of the raw dumping in php; I need something similar.

Usage:

  • composer require adudjandaniel/php_dump
  • require_once /path/to/autoload.php (Add to php scripts)
  • use namespace PhpDump\Dump
  • Dump::php_dump(variable_name [, label])

Functionality (so far):

  • Dumping
    • basic types (integer, boolean, float, string)
    • indexed arrays
    • associative array
  • Toggling display of values.
    Click on the key of the value to toggle it's display.

The method php_dump() takes two parameters:

  1. variable name (required)
  2. label (optional)

Check these outputs:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages