php-debugbar
php-debugbar copied to clipboard
Debug bar for PHP
Bring all the `PDOCollector/SQLQueriesWidget` fixes and features from [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) to [maximebf/php-debugbar](https://github.com/maximebf/php-debugbar) All these functionalities have been tested for a long time and have not presented any problems. - https://github.com/barryvdh/laravel-debugbar/commit/eb61c2f6c5b61a969e66bc1df36ef5568ecad9a0 Show...
@barryvdh I noticed that the same code is repeated many times, Wouldn't it be better to move it to a trait? It would be more readable and more organized everything...
Same as other collectors https://github.com/maximebf/php-debugbar/blob/27b3c2f2340d429e466d42ebcd47034bf3cd1850/src/DebugBar/DataCollector/MessagesCollector.php#L257-L268 https://github.com/maximebf/php-debugbar/blob/27b3c2f2340d429e466d42ebcd47034bf3cd1850/src/DebugBar/Bridge/MonologCollector.php#L104-L116
- `str_replace('\\', '/', $url)` fix editor links when local site replacement is windows os - `" "` breaks html attribute on ajax template links, replaced with `\' \'` - on...
[40f3755 _Skip decimals if < 100ms_](https://github.com/maximebf/php-debugbar/commit/40f375504a4dd8e59f779c3f3cac524777ddcde5) https://github.com/maximebf/php-debugbar/blob/376ff32ee50c2c24cebd16ccb5a30c647e9b3c6d/src/DebugBar/Resources/widgets.js#L432-L439 https://github.com/maximebf/php-debugbar/blob/30f65f18f7ac086255a77a079f8e0dcdd35e828e/src/DebugBar/DataFormatter/DataFormatter.php#L57-L67
currently there is no way to see the raw "peak_usage" bytes in the output. I'd love to have that number available somewhere, but I couldn't figure out how to do...
[psr/psr-3/#13-context](https://www.php-fig.org/psr/psr-3/#13-context) >Implementors MAY use placeholders to implement various escaping strategies and translate logs for display. ... Implementors MUST ensure they treat context data with as much lenience as possible Code...
Tons of "Creation of dynamic property" warnings in php 8.2 It also takes too time to process and make webs slower. Just add ``` private $cloner; private $dumper; ``` in...
- Remove security message  Before we have `'THIS IS CODE'`, so, when `highlight(pre);`, highlightjs removes `` as says the warning, changing to `highlight(codeElement)` fix it, this also happen on...