tomasfejfar / enhanced-dump
Installs: 108
Dependents: 2
Suggesters: 0
Security: 0
Stars: 18
Watchers: 3
Forks: 5
Open Issues: 1
pkg:composer/tomasfejfar/enhanced-dump
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: 6.0.3
- symfony/process: 3.2.x-dev#32646a7c
This package is auto-updated.
Last update: 2025-10-06 11:41:41 UTC
README
o----php in index.php line 3----o
array(2) {
[0]=>
string(5) "Lorem"
["x"]=>
string(9) "Not ipsum"
}
o-------------------------------o
Installation
Using as auto-prepend file
Add this file to your php.ini as auto prepend file:
auto_prepend_file = /some/path/fnc.php
then restart your apache/php.
Using composer
composer require tomasfejfar/enhanced-dump --dev
Usage:
d() - vardumps with location
dd() - vardumps with location and die
ds() - vardumps as string with location
dsd() - vardumps as string with location and die
dsql($toString) - vardumps as string into textarea with autoselect (useful for copying generated sql)
dmem() - dumps memory info
dtable() - dumps tabular data
dxml() - pretty prints any XML