Name: debugbar
Owner: Middlewares
Description: PSR-15 middleware to insert PHP DebugBar automatically in html responses
Created: 2016-10-08 08:16:08.0
Updated: 2018-03-10 15:56:18.0
Pushed: 2018-01-25 22:19:30.0
Homepage: null
Size: 29
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Middleware to insert PHP DebugBar automatically in html responses.
This package is installable and autoloadable via Composer as middlewares/debugbar.
oser require middlewares/debugbar
patcher = new Dispatcher([
new Middlewares\Debugbar()
ponse = $dispatcher->dispatch(new ServerRequest());
__construct(DebugBar\DebugBar $debugbar = null)
To use a custom DebugBar instance. If it's not defined, an intance of DebugBar\StandardDebugBar
will be created.
captureAjax(bool $captureAjax = true)
Set true to capture ajax requests and send the data in the headers (disabled by default).
inline(bool $inline = true)
Set true to dump the js/css code inline in the html.
Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details.
The MIT License (MIT). Please see LICENSE for more information.