ideatic / dump
Displays information about any PHP variable, class or exception.
Installs: 3 047
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 4
Forks: 1
Open Issues: 0
Language:JavaScript
This package is not auto-updated.
Last update: 2025-02-24 20:50:29 UTC
README
Debugging tool which displays information about any PHP variable, class or exception.
Inspired in the tool Krumo developed by mrasnika.
Usage
For using Dump
, you only need to include the script, and configure it with the URL of the static resources, and, optionally, with the special paths that your application use:
include 'Dump.php';
Dump::config('/url/to/dump-static', array(
'APP_PATH' => '/home/app/www',
'SYSTEM_PATH' => '/home/app/src'
)
);
And then, for dump information about any variable, resource or exception you only need to do:
dump($var)
Features
- Interactive dump of almost types of variables.
- Source code viewer with syntax highlighting.
- Object reflection.
- String viewer with plain and html mode.
- Comprehensive analysis of exceptions.
- Dynamic overlay that floats over top of web page.