xicrow / php-debug
PHP debugging tools
Installs: 3 652
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: 9.5.4
README
Debugging tools for PHP
Installation
The recommended way to install is through Composer:
composer require xicrow/php-debug:~5.0
OR
composer require --dev xicrow/php-debug:~5.0
Optionally add it to your composer.json
file:
{ "require": { "xicrow/php-debug": "~5.0" } }
OR
{ "require-dev": { "xicrow/php-debug": "~5.0" } }
Example
See examples in the demo
folder.
View the seperate readme for:
TODO
Debug functions for displaying variable information, pr(), vd(), etc.
Implemented, available inDebugger
classCollection class for Timer::$timers, and maybe others
Implemented, available inCollection
class
Removed, too memory hungryMemory class for measuring memory usage
Implemented, available inMemory
class
Removed, too unreliableImprove Timer and Memory, perhaps a Profiler class
Implemented, available inProfiler
class
Removed, along with MemoryAdd PHPunit tests
Implemented, now remeber to keep them updatedImprove Debugger, foldable tree of arrays/objects
Skipped, not sensible to do, clutter with either HTML or JS/CSS- Groupable timers, timers with the same name will be grouped and min, max and average will be calculated (activate when stopping a timer)
- Update example demo output in Debugger and Timer README
Update to PHP 7.4Done Implemented type declarations, return types, etc. Implemented type prefixed variables- Change option arrays to explicit variables or option classes Fixed in most places, just need the rest
License
Copyright © 2018 Jan Ebsen Licensed under the MIT license.