Download the PHP package dk4software/php-debug-utils without Composer
On this page you can find all versions of the php package dk4software/php-debug-utils. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dk4software/php-debug-utils
More information about dk4software/php-debug-utils
Files in dk4software/php-debug-utils
Download dk4software/php-debug-utils
More information about dk4software/php-debug-utils
Files in dk4software/php-debug-utils
Vendor dk4software
Package php-debug-utils
Short Description A utility to debug php code.
License MIT
Package php-debug-utils
Short Description A utility to debug php code.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-debug-utils
Utility to debug PHP
This is a small utility to debug Magento code using logs. You can use it by adding this library:
Feel free to fork and enhance.
By default it will insert logs into /var/www/var/log/mylog.log
If you want to override, you can pass the log path as parameter: \Dk4software\Debug::instance('<your path>')
It has three methods:
evaluate($variable_to_examine, 'label')
- examine a variable at a point in the codetrace()
- Trace the execution at a point in code.log($msg_string_to_output)
- Log a message.
E.g:
Do remember to remove the code and use namespace before checking in the code.
All versions of php-debug-utils with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
ext-json Version *
ext-json Version *
The package dk4software/php-debug-utils contains the following files
Loading the files please wait ....