alexeyplodenko / php-dumper
The package provides a simple dump function, to output the variables and stop execution.
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/alexeyplodenko/php-dumper
Requires
- php: >=5.6
- ext-json: *
README
Motivation
Being a lazy developer, I do not want to install XDebug or any other tool. But rather start coding and debugging with the existing setup right now.
The package provides a simple dump function, to output the variables and stop execution.
Install
Run composer require alexeyplodenko/php-dumper
Usage
<?php require 'vendor/autoload.php'; d(NULL, 'string', '', 123);
Outputs in a browser and CLI:
NULL
string
(empty string)
123
#0 E:\web\AlexeyPlodenko\php-dumper\index.php(3): d(NULL, 'string', '', 123)
#1 {main}
Dependencies
No dependencies.